diff options
author | root <root@rshg054.dnsready.net> | 2012-03-22 00:01:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-22 00:01:28 +0000 |
commit | 39e662ccfbe62ae77d458159d192816171a22f43 (patch) | |
tree | 2484a55934cd77dd33597ab2f214de5b7326cf69 /libre/filesystem/PKGBUILD | |
parent | a3108a9a809c496e1f6a0e9caf0acebac3889bfb (diff) |
Thu Mar 22 00:01:28 UTC 2012
Diffstat (limited to 'libre/filesystem/PKGBUILD')
-rw-r--r-- | libre/filesystem/PKGBUILD | 53 |
1 files changed, 28 insertions, 25 deletions
diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD index 733d34aa3..e9282b5aa 100644 --- a/libre/filesystem/PKGBUILD +++ b/libre/filesystem/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 147201 2012-01-24 06:36:12Z bisson $ +# $Id: PKGBUILD 150594 2012-02-18 18:25:33Z tomegun $ # Maintainer: Tom Gundersen <teg@jklm.no> # Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar> +# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy> pkgname=filesystem -pkgver=2011.12 +pkgver=2012.2 pkgrel=2 pkgdesc='Base filesystem for Parabola' arch=('any') @@ -37,51 +38,53 @@ md5sums=('772fe869b921698cc3e6fde73c4ac85a' 'a8a962370cd0128465d514e6a1f74130') package() { - cd ${srcdir} + cd ${pkgdir} # # setup root filesystem # for d in bin boot dev etc home lib/modules media mnt sbin usr var opt srv/http sys run; do - install -d -m755 ${pkgdir}/${d} + install -d -m755 ${d} done - install -d -m555 ${pkgdir}/proc - install -d -m0750 ${pkgdir}/root - install -d -m1777 ${pkgdir}/tmp + install -d -m555 proc + install -d -m0750 root + install -d -m1777 tmp # vsftpd won't run with write perms on /srv/ftp - install -d -m555 -g ftp ${pkgdir}/srv/ftp + install -d -m555 -g ftp srv/ftp # setup /etc - install -d ${pkgdir}/etc/{ld.so.conf.d,skel,profile.d} + install -d etc/{ld.so.conf.d,skel,profile.d} for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf passwd resolv.conf securetty shells profile; do - install -m644 ${srcdir}/${f} ${pkgdir}/etc/ + install -m644 ${srcdir}/${f} etc/ done - ln -s /proc/self/mounts ${pkgdir}/etc/mtab + ln -s /proc/self/mounts etc/mtab for f in gshadow shadow crypttab; do - install -m600 ${srcdir}/${f} ${pkgdir}/etc/ + install -m600 ${srcdir}/${f} etc/ done - touch ${pkgdir}/etc/arch-release - install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/lib/modprobe.d/usb-load-ehci-first.conf + touch etc/arch-release + install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first lib/modprobe.d/usb-load-ehci-first.conf # setup /var - for d in cache/man local opt log/old lib/misc empty; do - install -d -m755 ${pkgdir}/var/${d} + for d in cache/man local opt log/old lib/misc empty run; do + install -d -m755 var/${d} done - install -d -m1777 ${pkgdir}/var/{tmp,spool/mail} + install -d -m1777 var/{tmp,spool/mail,lock} # allow setgid games to write scores - install -d -m775 -g games ${pkgdir}/var/games - ln -s /var/spool/mail ${pkgdir}/var/mail - ln -s /run ${pkgdir}/var/run - ln -s /run/lock ${pkgdir}/var/lock + install -d -m775 -g games var/games + ln -s spool/mail var/mail + # not ready yet, needs possible change in pacman or other magic + # is fixed by initscripts on next boot +# ln -s ../run var/run +# ln -s ../run/lock var/lock # # setup /usr hierarchy # for d in bin include lib sbin share/misc src; do - install -d -m755 ${pkgdir}/usr/${d} + install -d -m755 usr/${d} done for d in $(seq 8); do - install -d -m755 ${pkgdir}/usr/share/man/man${d} + install -d -m755 usr/share/man/man${d} done @@ -89,7 +92,7 @@ package() { # setup /usr/local hierarchy # for d in bin etc games include lib man sbin share src; do - install -d -m755 ${pkgdir}/usr/local/${d} + install -d -m755 usr/local/${d} done - ln -s ../man ${pkgdir}/usr/local/share/man + ln -s ../man usr/local/share/man } |