summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-29 22:22:43 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-29 22:22:43 +0200
commitae058815d84ed3ead6e7dff07df320970bffabf8 (patch)
tree6fd2d9f6c459f704acce06bdce1bded2934a66e4 /base/aaabasicfs/Pkgfile
parentc2114c1454b08c31d86128c72777b3fa1f4a957f (diff)
downloadnutyx-pakxe-ae058815d84ed3ead6e7dff07df320970bffabf8.tar.gz
nutyx-pakxe-ae058815d84ed3ead6e7dff07df320970bffabf8.tar.bz2
nutyx-pakxe-ae058815d84ed3ead6e7dff07df320970bffabf8.tar.xz
nutyx-pakxe-ae058815d84ed3ead6e7dff07df320970bffabf8.zip
maj aaabasicfs#2009.1-beta2
Diffstat (limited to 'base/aaabasicfs/Pkgfile')
-rw-r--r--base/aaabasicfs/Pkgfile28
1 files changed, 15 insertions, 13 deletions
diff --git a/base/aaabasicfs/Pkgfile b/base/aaabasicfs/Pkgfile
index a3a2a623d..259800884 100644
--- a/base/aaabasicfs/Pkgfile
+++ b/base/aaabasicfs/Pkgfile
@@ -5,11 +5,11 @@
# Depends on:
name=aaabasicfs
-version=2009
-release=1
-scriptsversion=lfs-bootscripts-20090523
+version=2009.1
+release=beta2
+scriptsversion=lfs-bootscripts-20090817
source=( http://www.linuxfromscratch.org/lfs/downloads/development/$scriptsversion.tar.bz2\
- hosts clock console fstab inittab menu.lst inputrc network xorg.conf \
+ hosts clock console fstab inittab message inputrc network xorg.conf \
profile dircolors.sh extrapaths.sh bash_profile bashrc bashrc.etc \
blfs-bootscripts nu readline.sh unmask.sh X.sh i18n.sh bashrc sysklogd cleanfs)
@@ -45,7 +45,7 @@ build() {
# Creating essential Files and Symlinks
touch $PKG/etc/mtab
ln -sv bash $PKG/bin/sh
- echo "2009" > $PKG/etc/nutyx-version
+ echo "$version-$release" > $PKG/etc/nutyx-version
cat > $PKG/etc/shells << "EOF"
/bin/sh
/bin/bash
@@ -147,14 +147,8 @@ EOF
cp sysklogd $PKG/etc/rc.d/init.d/
cp cleanfs $PKG/etc/rc.d/init.d/
- mkdir -v $PKG/boot/grub
- cp -v menu.lst $PKG/boot/grub/
- if [ `uname -m` == "x86_64" ]; then
- sed -i "s|boot/kernel|boot/kernel_64|" \
- $PKG/boot/grub/menu.lst
- sed -i "s|nutyx-initrd|nutyx-initrd_64|" \
- $PKG/boot/grub/menu.lst
- fi
+ cp -v message $PKG/boot/
+
cat > $PKG/etc/skel/.dmrc << "EOF"
[Desktop]
Session=
@@ -192,4 +186,12 @@ EOF
ln -s ../etc/pkg-get.conf
ln -s ../etc/pkgadd.conf
ln -s ../etc/pkgmk.conf
+ for i in rc0.d rc6.d
+ do
+ mv $PKG/etc/rc.d/$i/S{80,70}swap
+ mv $PKG/etc/rc.d/$i/S{70,80}mountfs
+ done
+ mv $PKG/etc/rc.d/rcsysinit.d/S{20,40}swap
+ mv $PKG/etc/rc.d/rcsysinit.d/S{30,20}checkfs
+ mv $PKG/etc/rc.d/rcsysinit.d/S{40,30}mountfs
}