summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-15 19:52:39 +0200
committertnut <tnut at nutyx dot com>2011-05-15 19:52:39 +0200
commitf4c002f6603c520a27203ec3d07772d9e74c8b57 (patch)
tree5af7bd44a9f635abba6c4bfa5edfcf6038d2d732 /base/aaabasicfs/Pkgfile
parent3698a74fe7f226e7a5e17005019696771204dd25 (diff)
downloadnutyx-pakxe-f4c002f6603c520a27203ec3d07772d9e74c8b57.tar.gz
nutyx-pakxe-f4c002f6603c520a27203ec3d07772d9e74c8b57.tar.bz2
nutyx-pakxe-f4c002f6603c520a27203ec3d07772d9e74c8b57.tar.xz
nutyx-pakxe-f4c002f6603c520a27203ec3d07772d9e74c8b57.zip
aaabasicfs, correction du port
Diffstat (limited to 'base/aaabasicfs/Pkgfile')
-rw-r--r--base/aaabasicfs/Pkgfile15
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