[arch-projects] [filesystem] install /var/{lock,run} as symlinks
https://gist.github.com/1566006 Index: filesystem/trunk/PKGBUILD =================================================================== --- filesystem/trunk/PKGBUILD (revision 146186) +++ filesystem/trunk/PKGBUILD (working copy) @@ -63,13 +63,15 @@ install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/lib/modprobe.d/usb-load-ehci-first.conf # setup /var - for d in cache/man local opt run log/old lib/misc empty; do + for d in cache/man local opt log/old lib/misc empty; do install -d -m755 ${pkgdir}/var/${d} done - install -d -m1777 ${pkgdir}/var/{lock,tmp,spool/mail} + install -d -m1777 ${pkgdir}/var/{tmp,spool/mail} # allow setgid games to write scores install -d -m775 -g games ${pkgdir}/var/games ln -s spool/mail ${pkgdir}/var/mail + ln -s /run ${pkgdir}/var/run + ln -s /run/lock ${pkgdir}/var/lock # prevent pacman from removing directory (FS#16886) touch ${pkgdir}/var/empty/.keep
participants (1)
-
Gerardo Exequiel Pozzi