From 0028572766ce1e3afa10ba5b8b54b5a13df989f4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Dec 12 2017 14:41:33 +0000 Subject: Add /usr/lib/sysimage This came out of upstream rpm-ecosystem discussion: http://lists.rpm.org/pipermail/rpm-maint/2017-October/006681.html While I'm not aware of anyone starting the push to move the rpmdb in Fedora yet, I do plan to change rpm-ostree soon to use `/usr/lib/sysimage/rpm-ostree-base-db` or so for its "base" rpmdb, as distinct from the final one. --- diff --git a/filesystem.spec b/filesystem.spec index cba628e..3ed2203 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -43,7 +43,7 @@ cd %{buildroot} mkdir -p boot dev \ etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki,bash_completion.d} \ home media mnt opt proc root run srv sys tmp \ - usr/{bin,games,include,%{_lib}/{games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sse2},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11,wayland-sessions},src,src/kernels,src/debug} \ + usr/{bin,games,include,%{_lib}/{games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage,sse2},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11,wayland-sessions},src,src/kernels,src/debug} \ var/{adm,empty,ftp,gopher,lib/{games,misc,rpm-state},local,log,nis,preserve,spool/{mail,lpd},tmp,db,cache,opt,games,yp} #do not create the symlink atm. @@ -214,6 +214,7 @@ restorecon /media 2>/dev/null >/dev/null || : /usr/games /usr/include %dir %attr(555,root,root) /usr/lib +%dir /usr/lib/sysimage %dir /usr/lib/debug %dir /usr/lib/debug/.dwz %ghost /usr/lib/debug/bin