summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-16 19:31:28 +0200
committertnut <tnut at nutyx dot com>2011-05-16 19:31:28 +0200
commit32fcf0fe87880a5992a902714e99c147d1574893 (patch)
tree54e0e70365657676c2811e6b8968e63946aeb2e1 /base/aaabasicfs/Pkgfile
parentad7a3983ceaaf8a3c4e6cd7c0278724908fd971d (diff)
parentd71c91db2c4577d8fe6fac4a6385ca81dbc8190d (diff)
downloadnutyx-pakxe-32fcf0fe87880a5992a902714e99c147d1574893.tar.gz
nutyx-pakxe-32fcf0fe87880a5992a902714e99c147d1574893.tar.bz2
nutyx-pakxe-32fcf0fe87880a5992a902714e99c147d1574893.tar.xz
nutyx-pakxe-32fcf0fe87880a5992a902714e99c147d1574893.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
Diffstat (limited to 'base/aaabasicfs/Pkgfile')
-rw-r--r--base/aaabasicfs/Pkgfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/base/aaabasicfs/Pkgfile b/base/aaabasicfs/Pkgfile
index 2bf92a15c..80ac2ac94 100644
--- a/base/aaabasicfs/Pkgfile
+++ b/base/aaabasicfs/Pkgfile
@@ -20,7 +20,7 @@ source=( http://www.linuxfromscratch.org/lfs/downloads/development/$scriptsvers
build() {
# Creating Directories
- mkdir -pv $PKG/{dev,proc,sys,bin,boot,etc/{profile.d,opt,skel,default},home,lib,mnt,opt,srv/sources}
+ mkdir -pv $PKG/{dev,proc,sys,bin,boot,etc/{modprobe.d,profile.d,opt,skel,default},home,lib,mnt,opt,srv/sources,run}
chmod 1777 $PKG/srv/sources
mkdir -pv $PKG/{media/{floppy,cdrom,key,dvd},sbin,var}
install -dv -m 0750 $PKG/root
@@ -46,7 +46,9 @@ build() {
x86_64) ln -sv lib $PKG/lib64 && ln -sv lib $PKG/usr/lib64 ;;
esac
- mkdir -v $PKG/var/{lock,log,mail,run,spool}
+ mkdir -v $PKG/var/{log,mail,spool}
+ ln -sv ../run $PKG/var/run
+ ln -sv ../run/lock $PKG/var/lock
mkdir -pv $PKG/var/{opt,cache,lib/{misc,locate},local}
touch $PKG/var/log/{kern.log,auth.log,mail.log,user.log,sys.log,daemon.log,wtmp,btmp}
chmod 640 $PKG/var/log/{kern.log,auth.log,mail.log,user.log,sys.log,daemon.log}
@@ -58,7 +60,6 @@ build() {
mkdir -p $PKG/var/lib/pkg/
echo "$version-$release" > $PKG/var/lib/pkg/nutyx-version
ln -s /var/lib/pkg/nutyx-version $PKG/etc/nutyx-version
-
cat > $PKG/etc/shells << "EOF"
/bin/sh
/bin/bash