summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs/Pkgfile
diff options
context:
space:
mode:
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