summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/grub.xibuild12
-rw-r--r--repo/system/sysklogd.xibuild4
2 files changed, 14 insertions, 2 deletions
diff --git a/repo/system/grub.xibuild b/repo/system/grub.xibuild
index cf224bb..343c07e 100644
--- a/repo/system/grub.xibuild
+++ b/repo/system/grub.xibuild
@@ -28,4 +28,16 @@ package () {
make DESTDIR=$PKG_DEST install
mkdir -p $PKG_DEST/usr/share/bash-completion/completions
mv $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions
+ mkdir -p $PKG_DEST/etc/default
+ cat > $PKG_DEST/etc/default/grub << "EOF"
+# GRUB boot loader configuration
+
+GRUB_DEFAULT=0
+GRUB_TIMEOUT=5
+GRUB_DISTRIBUTOR="XiLinux"
+
+GRUB_CMDLINE_LINUX_DEFAULT=""
+GRUB_CMDLINE_LINUX=""
+
+EOF
}
diff --git a/repo/system/sysklogd.xibuild b/repo/system/sysklogd.xibuild
index bfff8c4..87370e4 100644
--- a/repo/system/sysklogd.xibuild
+++ b/repo/system/sysklogd.xibuild
@@ -33,6 +33,6 @@ user.* -/var/log/user.log
# End /etc/syslog.conf
EOF
install -Dm 754 sysklogd.initd $PKG_DEST/etc/init.d/sysklogd
- mkdir -p $PKG_DEST/etc/runlevels/boot/
- ln -s /etc/init.d/sysklogd $PKG_DEST/etc/runlevels/boot/sysklogd
+ mkdir -p $PKG_DEST/etc/runlevels/default/
+ ln -s /etc/init.d/sysklogd $PKG_DEST/etc/runlevels/default/sysklogd
}