From: Jose V Beneyto Date: Wed, 23 Dec 2009 08:11:19 +0000 (+0100) Subject: filesystem: updated to 2.6 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=ae89fac03f0b92ae97d201c3a8244736c3ff6de0;p=crossrootfs.git filesystem: updated to 2.6 --- diff --git a/filesystem/.footprint b/filesystem/.footprint index 5a0a69e..c488bbd 100644 --- a/filesystem/.footprint +++ b/filesystem/.footprint @@ -57,5 +57,5 @@ drwxr-xr-x root/root var/run/ -rw-r--r-- root/root var/run/utmp (EMPTY) drwxr-xr-x root/root var/spool/ drwxrwxrwt root/root var/spool/mail/ -lrwxrwxrwx root/root var/tmp -> ../tmp +drwxrwxrwt root/root var/tmp/ drwxr-xr-x root/root var/www/ diff --git a/filesystem/Pkgfile b/filesystem/Pkgfile index 9f92dae..df3f53f 100644 --- a/filesystem/Pkgfile +++ b/filesystem/Pkgfile @@ -1,28 +1,57 @@ # Description: Root filesystem package # URL: http://crux.nu # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX ARM System Team +# Arch Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org # Depends on: name=filesystem -version=2.5 -release=5 +version=2.6 +release=4 source=(issue motd shells group passwd shadow securetty fstab mime.types) build() { # Directory structure - install -d $PKG/{bin,sbin,boot,dev,proc,sys,etc,tmp,mnt,root,lib/modules,home} - install -d $PKG/{opt/bin,opt/sbin,usr/{bin,include,lib,sbin,share,src,man}} - install -d $PKG/usr/man/man{1,2,3,4,5,6,7,8} + mkdir $PKG/bin + mkdir $PKG/sbin + mkdir $PKG/boot + mkdir $PKG/dev + mkdir $PKG/proc + mkdir $PKG/sys + mkdir $PKG/etc + mkdir $PKG/tmp + mkdir $PKG/mnt + mkdir $PKG/root + mkdir $PKG/lib + mkdir $PKG/lib/modules + mkdir $PKG/opt + mkdir $PKG/opt/bin + mkdir $PKG/opt/sbin + mkdir $PKG/usr + mkdir $PKG/usr/{bin,include,lib,sbin,share,src,man} + mkdir $PKG/usr/man/man{1,2,3,4,5,6,7,8} ln -s ../var $PKG/usr/var - install -d $PKG/var/{cache,lib/pkg,lock,log/old,run,spool/mail,ftp,www,empty} + mkdir $PKG/var + mkdir $PKG/var/cache + mkdir $PKG/var/lib + mkdir $PKG/var/lib/pkg + mkdir $PKG/var/lock + mkdir $PKG/var/log + mkdir $PKG/var/log/old + mkdir $PKG/var/run touch $PKG/var/run/utmp - ln -s ../tmp $PKG/var/tmp + mkdir $PKG/var/spool + mkdir $PKG/var/spool/mail + mkdir $PKG/var/tmp + mkdir $PKG/var/ftp + mkdir $PKG/var/www + mkdir $PKG/var/empty ln -s spool/mail $PKG/var/mail - + mkdir $PKG/home + chmod 1777 $PKG/var/spool/mail chmod 1777 $PKG/tmp chmod 1777 $PKG/var/lock + chmod 1777 $PKG/var/tmp chmod 0750 $PKG/root # /dev @@ -30,25 +59,25 @@ build() { chmod 0600 $PKG/dev/console # /etc - install -m 0644 issue $PKG/etc - install -m 0644 motd $PKG/etc - install -m 0644 shells $PKG/etc - install -m 0644 group $PKG/etc - install -m 0644 passwd $PKG/etc - install -m 0640 shadow $PKG/etc - install -m 0644 securetty $PKG/etc - install -m 0644 fstab $PKG/etc - install -m 0644 mime.types $PKG/etc + cp issue $PKG/etc + cp motd $PKG/etc + cp shells $PKG/etc + cp group $PKG/etc + cp passwd $PKG/etc + cp shadow $PKG/etc + cp securetty $PKG/etc + cp fstab $PKG/etc + cp mime.types $PKG/etc touch $PKG/etc/mtab - chmod 0640 $PKG/etc/shadow + chmod 640 $PKG/etc/shadow - # /usr/bin/crux + # /usr/bin/crux cat > $PKG/usr/bin/crux << EOF #!/bin/sh -echo "CRUX-ARM version $version" +echo "CRUX version $version" # End of file EOF - chmod 0755 $PKG/usr/bin/crux + chmod 755 $PKG/usr/bin/crux }