diff options
Diffstat (limited to 'base/aaabasicfs/Pkgfile')
-rw-r--r-- | base/aaabasicfs/Pkgfile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/base/aaabasicfs/Pkgfile b/base/aaabasicfs/Pkgfile index 2bf92a15c..e5acd43d6 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,14 @@ 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/modprobe.d/usb.conf << "EOF" +# Begin /etc/modprobe.d/usb.conf + +install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true +install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true + +# End /etc/modprobe.d/usb.conf +EOF cat > $PKG/etc/shells << "EOF" /bin/sh /bin/bash |