From 6ad6d7707e893016e82eeb75f4f08131d12700e7 Mon Sep 17 00:00:00 2001
From: Sebastian Schmelzer
Date: Mon, 4 Oct 2010 17:42:02 +0200
Subject: remove uClibc stuff - part I
---
src/boot-env/OpenSLX/BootEnvironment/Preboot.pm | 2 +-
src/boot-env/OpenSLX/MakeInitRamFS/Engine/PBS.pm | 4 +-
.../OpenSLX/MakeInitRamFS/Engine/Preboot.pm | 10 +-
.../OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm | 8 +-
src/boot-env/pbs/rootfs/bin/bbinit | 19 +
src/boot-env/pbs/rootfs/bin/handleEvents | 38 +
src/boot-env/pbs/rootfs/etc/bbinit.d/example | 32 +
src/boot-env/pbs/rootfs/etc/events/example | 2 +
src/boot-env/pbs/rootfs/init | 234 +++++
.../preboot/preboot-scripts/dialog.functions | 105 ++
src/boot-env/pbs/uclib-rootfs/bin/bbinit | 19 -
src/boot-env/pbs/uclib-rootfs/bin/handleEvents | 38 -
src/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example | 32 -
src/boot-env/pbs/uclib-rootfs/etc/events/example | 2 -
src/boot-env/pbs/uclib-rootfs/init | 234 -----
.../preboot/preboot-scripts/dialog.functions | 105 --
src/boot-env/preboot/rootfs/init | 216 ++++
src/boot-env/preboot/rootfs/lib/libcurses.so | 1 +
src/boot-env/preboot/rootfs/lib/libncurses.so | 1 +
src/boot-env/preboot/rootfs/lib/libncurses.so.5 | 1 +
src/boot-env/preboot/rootfs/lib/libncurses.so.5.6 | Bin 0 -> 229164 bytes
src/boot-env/preboot/rootfs/usr/bin/clear | Bin 0 -> 5156 bytes
src/boot-env/preboot/rootfs/usr/bin/dialog | Bin 0 -> 108520 bytes
src/boot-env/preboot/rootfs/usr/bin/w3m | Bin 0 -> 1093832 bytes
src/boot-env/preboot/rootfs/usr/lib/libcrypto.so | 1 +
.../preboot/rootfs/usr/lib/libcrypto.so.0.9.8 | Bin 0 -> 1143120 bytes
src/boot-env/preboot/rootfs/usr/lib/libcurses.so | 11 +
src/boot-env/preboot/rootfs/usr/lib/libform.so | 1 +
src/boot-env/preboot/rootfs/usr/lib/libform.so.5 | 1 +
src/boot-env/preboot/rootfs/usr/lib/libform.so.5.6 | Bin 0 -> 39044 bytes
src/boot-env/preboot/rootfs/usr/lib/libmenu.so | 1 +
src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5 | 1 +
src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5.6 | Bin 0 -> 21968 bytes
src/boot-env/preboot/rootfs/usr/lib/libncurses.so | 11 +
src/boot-env/preboot/rootfs/usr/lib/libpanel.so | 1 +
src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5 | 1 +
.../preboot/rootfs/usr/lib/libpanel.so.5.6 | Bin 0 -> 9212 bytes
src/boot-env/preboot/rootfs/usr/lib/libssl.so | 1 +
.../preboot/rootfs/usr/lib/libssl.so.0.9.8 | Bin 0 -> 237392 bytes
src/boot-env/preboot/rootfs/usr/sbin/kdump | Bin 0 -> 5200 bytes
src/boot-env/preboot/rootfs/usr/sbin/kexec | Bin 0 -> 104068 bytes
src/boot-env/preboot/uclib-rootfs/init | 216 ----
src/boot-env/preboot/uclib-rootfs/lib/libcurses.so | 1 -
.../preboot/uclib-rootfs/lib/libncurses.so | 1 -
.../preboot/uclib-rootfs/lib/libncurses.so.5 | 1 -
.../preboot/uclib-rootfs/lib/libncurses.so.5.6 | Bin 229164 -> 0 bytes
src/boot-env/preboot/uclib-rootfs/usr/bin/clear | Bin 5156 -> 0 bytes
src/boot-env/preboot/uclib-rootfs/usr/bin/dialog | Bin 108520 -> 0 bytes
src/boot-env/preboot/uclib-rootfs/usr/bin/w3m | Bin 1093832 -> 0 bytes
.../preboot/uclib-rootfs/usr/lib/libcrypto.so | 1 -
.../uclib-rootfs/usr/lib/libcrypto.so.0.9.8 | Bin 1143120 -> 0 bytes
.../preboot/uclib-rootfs/usr/lib/libcurses.so | 11 -
.../preboot/uclib-rootfs/usr/lib/libform.so | 1 -
.../preboot/uclib-rootfs/usr/lib/libform.so.5 | 1 -
.../preboot/uclib-rootfs/usr/lib/libform.so.5.6 | Bin 39044 -> 0 bytes
.../preboot/uclib-rootfs/usr/lib/libmenu.so | 1 -
.../preboot/uclib-rootfs/usr/lib/libmenu.so.5 | 1 -
.../preboot/uclib-rootfs/usr/lib/libmenu.so.5.6 | Bin 21968 -> 0 bytes
.../preboot/uclib-rootfs/usr/lib/libncurses.so | 11 -
.../preboot/uclib-rootfs/usr/lib/libpanel.so | 1 -
.../preboot/uclib-rootfs/usr/lib/libpanel.so.5 | 1 -
.../preboot/uclib-rootfs/usr/lib/libpanel.so.5.6 | Bin 9212 -> 0 bytes
.../preboot/uclib-rootfs/usr/lib/libssl.so | 1 -
.../preboot/uclib-rootfs/usr/lib/libssl.so.0.9.8 | Bin 237392 -> 0 bytes
src/boot-env/preboot/uclib-rootfs/usr/sbin/kdump | Bin 5200 -> 0 bytes
src/boot-env/preboot/uclib-rootfs/usr/sbin/kexec | Bin 104068 -> 0 bytes
src/config-db/slxconfig-demuxer | 16 +-
.../eglibc-packages/compcache/usr/bin/rzscontrol | Bin 7040 -> 0 bytes
.../eglibc-packages/hwinfo/lib/libdbus-1.so.3 | Bin 231492 -> 0 bytes
.../eglibc-packages/hwinfo/lib/librt.so.1 | Bin 30684 -> 0 bytes
.../eglibc-packages/hwinfo/usr/lib/libhal.so.1 | Bin 61852 -> 0 bytes
.../eglibc-packages/hwinfo/usr/lib/libhd.so.16 | Bin 1865944 -> 0 bytes
.../eglibc-packages/hwinfo/usr/sbin/hwinfo | Bin 28020 -> 0 bytes
.../eglibc-packages/mksquashfs/lib/libm.so.6 | Bin 149392 -> 0 bytes
.../eglibc-packages/mksquashfs/lib/libpthread.so.0 | Bin 117105 -> 0 bytes
.../mksquashfs/usr/bin/mksquashfs_3_3 | Bin 93192 -> 0 bytes
.../mksquashfs/usr/bin/mksquashfs_4 | Bin 97460 -> 0 bytes
.../eglibc-packages/nbd-client/sbin/nbd-client | Bin 11836 -> 0 bytes
.../eglibc-packages/plymouth/bin/plymouth | Bin 27428 -> 0 bytes
.../plymouth/lib/libply-splash-core.so.2 | Bin 62216 -> 0 bytes
.../eglibc-packages/plymouth/lib/libply.so.2 | Bin 75816 -> 0 bytes
.../eglibc-packages/plymouth/lib/librt.so.1 | Bin 30684 -> 0 bytes
.../eglibc-packages/plymouth/sbin/plymouthd | Bin 53124 -> 0 bytes
.../share/plymouth/themes/details/details.plymouth | 4 -
.../usr/share/plymouth/themes/fade-in/bullet.png | Bin 296 -> 0 bytes
.../usr/share/plymouth/themes/fade-in/entry.png | Bin 350 -> 0 bytes
.../share/plymouth/themes/fade-in/fade-in.plymouth | 7 -
.../usr/share/plymouth/themes/fade-in/lock.png | Bin 29126 -> 0 bytes
.../usr/share/plymouth/themes/fade-in/star.png | Bin 1057 -> 0 bytes
.../usr/share/plymouth/themes/glow/box.png | Bin 870 -> 0 bytes
.../usr/share/plymouth/themes/glow/bullet.png | Bin 131 -> 0 bytes
.../usr/share/plymouth/themes/glow/entry.png | Bin 367 -> 0 bytes
.../usr/share/plymouth/themes/glow/glow.plymouth | 11 -
.../usr/share/plymouth/themes/glow/lock.png | Bin 1896 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-00.png | Bin 519 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-01.png | Bin 599 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-02.png | Bin 644 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-03.png | Bin 704 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-04.png | Bin 736 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-05.png | Bin 786 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-06.png | Bin 780 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-07.png | Bin 775 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-08.png | Bin 776 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-09.png | Bin 769 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-10.png | Bin 866 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-11.png | Bin 970 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-12.png | Bin 1014 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-13.png | Bin 1107 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-14.png | Bin 1120 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-15.png | Bin 1078 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-16.png | Bin 955 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-17.png | Bin 1091 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-18.png | Bin 1194 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-19.png | Bin 1249 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-20.png | Bin 1239 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-21.png | Bin 1306 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-22.png | Bin 1287 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-23.png | Bin 1279 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-24.png | Bin 1202 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-25.png | Bin 1299 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-26.png | Bin 1380 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-27.png | Bin 1453 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-28.png | Bin 1468 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-29.png | Bin 1498 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-30.png | Bin 1529 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-31.png | Bin 1519 -> 0 bytes
.../usr/share/plymouth/themes/glow/progress-32.png | Bin 1383 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-00.png | Bin 2627 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-01.png | Bin 3338 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-02.png | Bin 4077 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-03.png | Bin 4766 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-04.png | Bin 6316 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-05.png | Bin 6390 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-06.png | Bin 8920 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-07.png | Bin 9482 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-08.png | Bin 9623 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-09.png | Bin 9337 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-10.png | Bin 8867 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-11.png | Bin 8698 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-12.png | Bin 8258 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-13.png | Bin 12244 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-14.png | Bin 11344 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-15.png | Bin 6761 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-16.png | Bin 6899 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-17.png | Bin 6937 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-18.png | Bin 6936 -> 0 bytes
.../usr/share/plymouth/themes/glow/throbber-19.png | Bin 6959 -> 0 bytes
.../usr/share/plymouth/themes/script/box.png | Bin 870 -> 0 bytes
.../usr/share/plymouth/themes/script/bullet.png | Bin 296 -> 0 bytes
.../usr/share/plymouth/themes/script/entry.png | Bin 350 -> 0 bytes
.../usr/share/plymouth/themes/script/lock.png | Bin 1896 -> 0 bytes
.../share/plymouth/themes/script/progress_bar.png | Bin 173 -> 0 bytes
.../share/plymouth/themes/script/progress_box.png | Bin 196 -> 0 bytes
.../share/plymouth/themes/script/script.plymouth | 11 -
.../usr/share/plymouth/themes/script/script.script | 164 ----
.../usr/share/plymouth/themes/solar/box.png | Bin 870 -> 0 bytes
.../usr/share/plymouth/themes/solar/bullet.png | Bin 296 -> 0 bytes
.../usr/share/plymouth/themes/solar/entry.png | Bin 350 -> 0 bytes
.../usr/share/plymouth/themes/solar/lock.png | Bin 1896 -> 0 bytes
.../share/plymouth/themes/solar/progress_bar.png | Bin 246 -> 0 bytes
.../usr/share/plymouth/themes/solar/solar.plymouth | 7 -
.../usr/share/plymouth/themes/solar/star.png | Bin 355666 -> 0 bytes
.../usr/share/plymouth/themes/spinfinity/box.png | Bin 870 -> 0 bytes
.../share/plymouth/themes/spinfinity/bullet.png | Bin 296 -> 0 bytes
.../usr/share/plymouth/themes/spinfinity/entry.png | Bin 350 -> 0 bytes
.../usr/share/plymouth/themes/spinfinity/lock.png | Bin 1896 -> 0 bytes
.../plymouth/themes/spinfinity/spinfinity.plymouth | 7 -
.../plymouth/themes/spinfinity/throbber-00.png | Bin 244 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-01.png | Bin 304 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-02.png | Bin 370 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-03.png | Bin 424 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-04.png | Bin 508 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-05.png | Bin 563 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-06.png | Bin 589 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-07.png | Bin 562 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-08.png | Bin 567 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-09.png | Bin 560 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-10.png | Bin 526 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-11.png | Bin 492 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-12.png | Bin 424 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-13.png | Bin 360 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-14.png | Bin 300 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-15.png | Bin 244 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-16.png | Bin 213 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-17.png | Bin 245 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-18.png | Bin 306 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-19.png | Bin 372 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-20.png | Bin 424 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-21.png | Bin 513 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-22.png | Bin 551 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-23.png | Bin 595 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-24.png | Bin 571 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-25.png | Bin 570 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-26.png | Bin 566 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-27.png | Bin 521 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-28.png | Bin 480 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-29.png | Bin 424 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-30.png | Bin 356 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-31.png | Bin 293 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-32.png | Bin 243 -> 0 bytes
.../plymouth/themes/spinfinity/throbber-33.png | Bin 213 -> 0 bytes
.../usr/share/plymouth/themes/text/text.plymouth | 4 -
.../eglibc-packages/strace/usr/bin/strace | Bin 207880 -> 0 bytes
src/initramfs/eglibc-rootfs/bin/ash | 1 -
src/initramfs/eglibc-rootfs/bin/bash | 1 -
src/initramfs/eglibc-rootfs/bin/busybox | Bin 401212 -> 0 bytes
src/initramfs/eglibc-rootfs/bin/cat | 1 -
src/initramfs/eglibc-rootfs/bin/chgrp | 1 -
src/initramfs/eglibc-rootfs/bin/chmod | 1 -
src/initramfs/eglibc-rootfs/bin/chown | 1 -
src/initramfs/eglibc-rootfs/bin/cp | 1 -
src/initramfs/eglibc-rootfs/bin/cpio | 1 -
src/initramfs/eglibc-rootfs/bin/cttyhack | 1 -
src/initramfs/eglibc-rootfs/bin/date | 1 -
src/initramfs/eglibc-rootfs/bin/dd | 1 -
src/initramfs/eglibc-rootfs/bin/df | 1 -
src/initramfs/eglibc-rootfs/bin/dmesg | 1 -
src/initramfs/eglibc-rootfs/bin/dnsdomainname | 1 -
src/initramfs/eglibc-rootfs/bin/dumpkmap | 1 -
src/initramfs/eglibc-rootfs/bin/echo | 1 -
src/initramfs/eglibc-rootfs/bin/egrep | 1 -
src/initramfs/eglibc-rootfs/bin/false | 1 -
src/initramfs/eglibc-rootfs/bin/grep | 1 -
src/initramfs/eglibc-rootfs/bin/gunzip | 1 -
src/initramfs/eglibc-rootfs/bin/gzip | 1 -
src/initramfs/eglibc-rootfs/bin/hostname | 1 -
src/initramfs/eglibc-rootfs/bin/ip | 1 -
src/initramfs/eglibc-rootfs/bin/ipcalc | 1 -
src/initramfs/eglibc-rootfs/bin/kill | 1 -
src/initramfs/eglibc-rootfs/bin/ln | 1 -
src/initramfs/eglibc-rootfs/bin/ls | 1 -
src/initramfs/eglibc-rootfs/bin/mkdir | 1 -
src/initramfs/eglibc-rootfs/bin/mknod | 1 -
src/initramfs/eglibc-rootfs/bin/mount | 1 -
src/initramfs/eglibc-rootfs/bin/mv | 1 -
src/initramfs/eglibc-rootfs/bin/netstat | 1 -
src/initramfs/eglibc-rootfs/bin/nice | 1 -
src/initramfs/eglibc-rootfs/bin/pidof | 1 -
src/initramfs/eglibc-rootfs/bin/ping | 1 -
src/initramfs/eglibc-rootfs/bin/ps | 1 -
src/initramfs/eglibc-rootfs/bin/pwd | 1 -
src/initramfs/eglibc-rootfs/bin/rev | 1 -
src/initramfs/eglibc-rootfs/bin/rm | 1 -
src/initramfs/eglibc-rootfs/bin/sed | 1 -
src/initramfs/eglibc-rootfs/bin/sh | 1 -
src/initramfs/eglibc-rootfs/bin/sleep | 1 -
src/initramfs/eglibc-rootfs/bin/sync | 1 -
src/initramfs/eglibc-rootfs/bin/tar | 1 -
src/initramfs/eglibc-rootfs/bin/touch | 1 -
src/initramfs/eglibc-rootfs/bin/true | 1 -
src/initramfs/eglibc-rootfs/bin/umount | 1 -
src/initramfs/eglibc-rootfs/bin/uname | 1 -
src/initramfs/eglibc-rootfs/bin/usleep | 1 -
src/initramfs/eglibc-rootfs/bin/vi | 1 -
src/initramfs/eglibc-rootfs/bin/zcat | 1 -
src/initramfs/eglibc-rootfs/lib/ld-2.11.2.so | Bin 113964 -> 0 bytes
src/initramfs/eglibc-rootfs/lib/ld-linux.so.2 | 1 -
src/initramfs/eglibc-rootfs/lib/libc.so.6 | Bin 1315080 -> 0 bytes
src/initramfs/eglibc-rootfs/lib/libdbus-1.so.3 | Bin 231492 -> 0 bytes
src/initramfs/eglibc-rootfs/lib/libdl.so.2 | Bin 9736 -> 0 bytes
src/initramfs/eglibc-rootfs/lib/libm.so.6 | Bin 149392 -> 0 bytes
.../eglibc-rootfs/lib/libnss_dns-2.11.2.so | Bin 22036 -> 0 bytes
src/initramfs/eglibc-rootfs/lib/libnss_dns.so.2 | 1 -
.../eglibc-rootfs/lib/libresolv-2.11.2.so | Bin 71432 -> 0 bytes
src/initramfs/eglibc-rootfs/lib/libresolv.so.2 | 1 -
src/initramfs/eglibc-rootfs/lib/librt.so.1 | Bin 30684 -> 0 bytes
src/initramfs/eglibc-rootfs/linuxrc | 1 -
src/initramfs/eglibc-rootfs/sbin/arp | 1 -
src/initramfs/eglibc-rootfs/sbin/bootchartd | 1 -
src/initramfs/eglibc-rootfs/sbin/fbsplash | 1 -
src/initramfs/eglibc-rootfs/sbin/fdisk | 1 -
src/initramfs/eglibc-rootfs/sbin/getty | 1 -
src/initramfs/eglibc-rootfs/sbin/halt | 1 -
src/initramfs/eglibc-rootfs/sbin/hdparm | 1 -
src/initramfs/eglibc-rootfs/sbin/hwclock | 1 -
src/initramfs/eglibc-rootfs/sbin/init | 1 -
src/initramfs/eglibc-rootfs/sbin/inotifyd | 1 -
src/initramfs/eglibc-rootfs/sbin/insmod | 1 -
src/initramfs/eglibc-rootfs/sbin/klogd | 1 -
src/initramfs/eglibc-rootfs/sbin/ldconfig | Bin 651456 -> 0 bytes
src/initramfs/eglibc-rootfs/sbin/loadkmap | 1 -
src/initramfs/eglibc-rootfs/sbin/logread | 1 -
src/initramfs/eglibc-rootfs/sbin/lsmod | 1 -
src/initramfs/eglibc-rootfs/sbin/lspci | 1 -
src/initramfs/eglibc-rootfs/sbin/lsusb | 1 -
src/initramfs/eglibc-rootfs/sbin/mdev | 1 -
src/initramfs/eglibc-rootfs/sbin/mkdosfs | 1 -
src/initramfs/eglibc-rootfs/sbin/mkfs.vfat | 1 -
src/initramfs/eglibc-rootfs/sbin/mkswap | 1 -
src/initramfs/eglibc-rootfs/sbin/modinfo | 1 -
src/initramfs/eglibc-rootfs/sbin/modprobe | 1 -
src/initramfs/eglibc-rootfs/sbin/poweroff | 1 -
src/initramfs/eglibc-rootfs/sbin/reboot | 1 -
src/initramfs/eglibc-rootfs/sbin/rmmod | 1 -
src/initramfs/eglibc-rootfs/sbin/route | 1 -
src/initramfs/eglibc-rootfs/sbin/setconsole | 1 -
src/initramfs/eglibc-rootfs/sbin/start-stop-daemon | 1 -
src/initramfs/eglibc-rootfs/sbin/swapoff | 1 -
src/initramfs/eglibc-rootfs/sbin/swapon | 1 -
src/initramfs/eglibc-rootfs/sbin/switch_root | 1 -
src/initramfs/eglibc-rootfs/sbin/sysctl | 1 -
src/initramfs/eglibc-rootfs/sbin/syslogd | 1 -
src/initramfs/eglibc-rootfs/sbin/tunctl | 1 -
src/initramfs/eglibc-rootfs/sbin/udhcpc | 1 -
src/initramfs/eglibc-rootfs/sbin/vconfig | 1 -
src/initramfs/eglibc-rootfs/sbin/watchdog | 1 -
src/initramfs/eglibc-rootfs/sbin/zcip | 1 -
src/initramfs/eglibc-rootfs/usr/bin/[ | 1 -
src/initramfs/eglibc-rootfs/usr/bin/[[ | 1 -
src/initramfs/eglibc-rootfs/usr/bin/ar | 1 -
src/initramfs/eglibc-rootfs/usr/bin/arping | 1 -
src/initramfs/eglibc-rootfs/usr/bin/awk | 1 -
src/initramfs/eglibc-rootfs/usr/bin/basename | 1 -
src/initramfs/eglibc-rootfs/usr/bin/bunzip2 | 1 -
src/initramfs/eglibc-rootfs/usr/bin/bzcat | 1 -
src/initramfs/eglibc-rootfs/usr/bin/bzip2 | 1 -
src/initramfs/eglibc-rootfs/usr/bin/chvt | 1 -
src/initramfs/eglibc-rootfs/usr/bin/cut | 1 -
src/initramfs/eglibc-rootfs/usr/bin/deallocvt | 1 -
src/initramfs/eglibc-rootfs/usr/bin/du | 1 -
src/initramfs/eglibc-rootfs/usr/bin/dumpleases | 1 -
src/initramfs/eglibc-rootfs/usr/bin/eject | 1 -
src/initramfs/eglibc-rootfs/usr/bin/env | 1 -
src/initramfs/eglibc-rootfs/usr/bin/expr | 1 -
src/initramfs/eglibc-rootfs/usr/bin/fgconsole | 1 -
src/initramfs/eglibc-rootfs/usr/bin/find | 1 -
src/initramfs/eglibc-rootfs/usr/bin/flock | 1 -
src/initramfs/eglibc-rootfs/usr/bin/free | 1 -
src/initramfs/eglibc-rootfs/usr/bin/ftpget | 1 -
src/initramfs/eglibc-rootfs/usr/bin/ftpput | 1 -
src/initramfs/eglibc-rootfs/usr/bin/head | 1 -
src/initramfs/eglibc-rootfs/usr/bin/id | 1 -
src/initramfs/eglibc-rootfs/usr/bin/killall | 1 -
src/initramfs/eglibc-rootfs/usr/bin/ld | Bin 529192 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/bin/ldd | 193 ----
src/initramfs/eglibc-rootfs/usr/bin/less | 1 -
src/initramfs/eglibc-rootfs/usr/bin/logger | 1 -
src/initramfs/eglibc-rootfs/usr/bin/lspci | 1 -
src/initramfs/eglibc-rootfs/usr/bin/lsusb | 1 -
src/initramfs/eglibc-rootfs/usr/bin/lzcat | 1 -
src/initramfs/eglibc-rootfs/usr/bin/lzma | 1 -
src/initramfs/eglibc-rootfs/usr/bin/lzmacat | 1 -
src/initramfs/eglibc-rootfs/usr/bin/md5sum | 1 -
src/initramfs/eglibc-rootfs/usr/bin/nc | 1 -
src/initramfs/eglibc-rootfs/usr/bin/nmeter | 1 -
src/initramfs/eglibc-rootfs/usr/bin/nslookup | 1 -
src/initramfs/eglibc-rootfs/usr/bin/openvt | 1 -
src/initramfs/eglibc-rootfs/usr/bin/pkill | 1 -
src/initramfs/eglibc-rootfs/usr/bin/printf | 1 -
src/initramfs/eglibc-rootfs/usr/bin/readahead | 1 -
src/initramfs/eglibc-rootfs/usr/bin/readlink | 1 -
src/initramfs/eglibc-rootfs/usr/bin/realpath | 1 -
src/initramfs/eglibc-rootfs/usr/bin/rpm2cpio | 1 -
src/initramfs/eglibc-rootfs/usr/bin/setsid | 1 -
src/initramfs/eglibc-rootfs/usr/bin/smemcap | 1 -
src/initramfs/eglibc-rootfs/usr/bin/sort | 1 -
src/initramfs/eglibc-rootfs/usr/bin/strings | 1 -
src/initramfs/eglibc-rootfs/usr/bin/tail | 1 -
src/initramfs/eglibc-rootfs/usr/bin/telnet | 1 -
src/initramfs/eglibc-rootfs/usr/bin/test | 1 -
src/initramfs/eglibc-rootfs/usr/bin/tftp | 1 -
src/initramfs/eglibc-rootfs/usr/bin/time | 1 -
src/initramfs/eglibc-rootfs/usr/bin/timeout | 1 -
src/initramfs/eglibc-rootfs/usr/bin/top | 1 -
src/initramfs/eglibc-rootfs/usr/bin/tr | 1 -
src/initramfs/eglibc-rootfs/usr/bin/ttysize | 1 -
src/initramfs/eglibc-rootfs/usr/bin/uniq | 1 -
src/initramfs/eglibc-rootfs/usr/bin/unlzma | 1 -
src/initramfs/eglibc-rootfs/usr/bin/unxz | 1 -
src/initramfs/eglibc-rootfs/usr/bin/uptime | 1 -
src/initramfs/eglibc-rootfs/usr/bin/wc | 1 -
src/initramfs/eglibc-rootfs/usr/bin/wget | 1 -
src/initramfs/eglibc-rootfs/usr/bin/which | 1 -
src/initramfs/eglibc-rootfs/usr/bin/whoami | 1 -
src/initramfs/eglibc-rootfs/usr/bin/xargs | 1 -
src/initramfs/eglibc-rootfs/usr/bin/xz | 1 -
src/initramfs/eglibc-rootfs/usr/bin/xzcat | 1 -
.../usr/lib/libbfd-2.20.1-system.20100303.so | Bin 862364 -> 0 bytes
.../eglibc-rootfs/usr/lib/libfusion-1.2.so.9 | Bin 32432 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/lib/libgcc_s.so.1 | Bin 116600 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/lib/libhal.so.1 | Bin 61852 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/lib/libhd.so.16 | Bin 1865944 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/lib/libm.so | 1 -
src/initramfs/eglibc-rootfs/usr/lib/libpcre.so.3 | Bin 194216 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/lib/libz.so.1 | Bin 79980 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/sbin/brctl | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/chroot | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/dhcprelay | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/fbset | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/httpd | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/hwinfo | Bin 28020 -> 0 bytes
src/initramfs/eglibc-rootfs/usr/sbin/loadfont | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/rdate | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/setlogcons | 1 -
src/initramfs/eglibc-rootfs/usr/sbin/udhcpd | 1 -
.../packages/compcache/usr/bin/rzscontrol | Bin 0 -> 7040 bytes
src/initramfs/packages/hwinfo/lib/libdbus-1.so.3 | Bin 0 -> 231492 bytes
src/initramfs/packages/hwinfo/lib/librt.so.1 | Bin 0 -> 30684 bytes
src/initramfs/packages/hwinfo/usr/lib/libhal.so.1 | Bin 0 -> 61852 bytes
src/initramfs/packages/hwinfo/usr/lib/libhd.so.16 | Bin 0 -> 1865944 bytes
src/initramfs/packages/hwinfo/usr/sbin/hwinfo | Bin 0 -> 28020 bytes
src/initramfs/packages/mksquashfs/lib/libm.so.6 | Bin 0 -> 149392 bytes
.../packages/mksquashfs/lib/libpthread.so.0 | Bin 0 -> 117105 bytes
.../packages/mksquashfs/usr/bin/mksquashfs_3_3 | Bin 0 -> 93192 bytes
.../packages/mksquashfs/usr/bin/mksquashfs_4 | Bin 0 -> 97460 bytes
src/initramfs/packages/nbd-client/sbin/nbd-client | Bin 0 -> 11836 bytes
src/initramfs/packages/plymouth/bin/plymouth | Bin 0 -> 27428 bytes
.../packages/plymouth/lib/libply-splash-core.so.2 | Bin 0 -> 62216 bytes
src/initramfs/packages/plymouth/lib/libply.so.2 | Bin 0 -> 75816 bytes
src/initramfs/packages/plymouth/lib/librt.so.1 | Bin 0 -> 30684 bytes
src/initramfs/packages/plymouth/sbin/plymouthd | Bin 0 -> 53124 bytes
.../share/plymouth/themes/details/details.plymouth | 4 +
.../usr/share/plymouth/themes/fade-in/bullet.png | Bin 0 -> 296 bytes
.../usr/share/plymouth/themes/fade-in/entry.png | Bin 0 -> 350 bytes
.../share/plymouth/themes/fade-in/fade-in.plymouth | 7 +
.../usr/share/plymouth/themes/fade-in/lock.png | Bin 0 -> 29126 bytes
.../usr/share/plymouth/themes/fade-in/star.png | Bin 0 -> 1057 bytes
.../usr/share/plymouth/themes/glow/box.png | Bin 0 -> 870 bytes
.../usr/share/plymouth/themes/glow/bullet.png | Bin 0 -> 131 bytes
.../usr/share/plymouth/themes/glow/entry.png | Bin 0 -> 367 bytes
.../usr/share/plymouth/themes/glow/glow.plymouth | 11 +
.../usr/share/plymouth/themes/glow/lock.png | Bin 0 -> 1896 bytes
.../usr/share/plymouth/themes/glow/progress-00.png | Bin 0 -> 519 bytes
.../usr/share/plymouth/themes/glow/progress-01.png | Bin 0 -> 599 bytes
.../usr/share/plymouth/themes/glow/progress-02.png | Bin 0 -> 644 bytes
.../usr/share/plymouth/themes/glow/progress-03.png | Bin 0 -> 704 bytes
.../usr/share/plymouth/themes/glow/progress-04.png | Bin 0 -> 736 bytes
.../usr/share/plymouth/themes/glow/progress-05.png | Bin 0 -> 786 bytes
.../usr/share/plymouth/themes/glow/progress-06.png | Bin 0 -> 780 bytes
.../usr/share/plymouth/themes/glow/progress-07.png | Bin 0 -> 775 bytes
.../usr/share/plymouth/themes/glow/progress-08.png | Bin 0 -> 776 bytes
.../usr/share/plymouth/themes/glow/progress-09.png | Bin 0 -> 769 bytes
.../usr/share/plymouth/themes/glow/progress-10.png | Bin 0 -> 866 bytes
.../usr/share/plymouth/themes/glow/progress-11.png | Bin 0 -> 970 bytes
.../usr/share/plymouth/themes/glow/progress-12.png | Bin 0 -> 1014 bytes
.../usr/share/plymouth/themes/glow/progress-13.png | Bin 0 -> 1107 bytes
.../usr/share/plymouth/themes/glow/progress-14.png | Bin 0 -> 1120 bytes
.../usr/share/plymouth/themes/glow/progress-15.png | Bin 0 -> 1078 bytes
.../usr/share/plymouth/themes/glow/progress-16.png | Bin 0 -> 955 bytes
.../usr/share/plymouth/themes/glow/progress-17.png | Bin 0 -> 1091 bytes
.../usr/share/plymouth/themes/glow/progress-18.png | Bin 0 -> 1194 bytes
.../usr/share/plymouth/themes/glow/progress-19.png | Bin 0 -> 1249 bytes
.../usr/share/plymouth/themes/glow/progress-20.png | Bin 0 -> 1239 bytes
.../usr/share/plymouth/themes/glow/progress-21.png | Bin 0 -> 1306 bytes
.../usr/share/plymouth/themes/glow/progress-22.png | Bin 0 -> 1287 bytes
.../usr/share/plymouth/themes/glow/progress-23.png | Bin 0 -> 1279 bytes
.../usr/share/plymouth/themes/glow/progress-24.png | Bin 0 -> 1202 bytes
.../usr/share/plymouth/themes/glow/progress-25.png | Bin 0 -> 1299 bytes
.../usr/share/plymouth/themes/glow/progress-26.png | Bin 0 -> 1380 bytes
.../usr/share/plymouth/themes/glow/progress-27.png | Bin 0 -> 1453 bytes
.../usr/share/plymouth/themes/glow/progress-28.png | Bin 0 -> 1468 bytes
.../usr/share/plymouth/themes/glow/progress-29.png | Bin 0 -> 1498 bytes
.../usr/share/plymouth/themes/glow/progress-30.png | Bin 0 -> 1529 bytes
.../usr/share/plymouth/themes/glow/progress-31.png | Bin 0 -> 1519 bytes
.../usr/share/plymouth/themes/glow/progress-32.png | Bin 0 -> 1383 bytes
.../usr/share/plymouth/themes/glow/throbber-00.png | Bin 0 -> 2627 bytes
.../usr/share/plymouth/themes/glow/throbber-01.png | Bin 0 -> 3338 bytes
.../usr/share/plymouth/themes/glow/throbber-02.png | Bin 0 -> 4077 bytes
.../usr/share/plymouth/themes/glow/throbber-03.png | Bin 0 -> 4766 bytes
.../usr/share/plymouth/themes/glow/throbber-04.png | Bin 0 -> 6316 bytes
.../usr/share/plymouth/themes/glow/throbber-05.png | Bin 0 -> 6390 bytes
.../usr/share/plymouth/themes/glow/throbber-06.png | Bin 0 -> 8920 bytes
.../usr/share/plymouth/themes/glow/throbber-07.png | Bin 0 -> 9482 bytes
.../usr/share/plymouth/themes/glow/throbber-08.png | Bin 0 -> 9623 bytes
.../usr/share/plymouth/themes/glow/throbber-09.png | Bin 0 -> 9337 bytes
.../usr/share/plymouth/themes/glow/throbber-10.png | Bin 0 -> 8867 bytes
.../usr/share/plymouth/themes/glow/throbber-11.png | Bin 0 -> 8698 bytes
.../usr/share/plymouth/themes/glow/throbber-12.png | Bin 0 -> 8258 bytes
.../usr/share/plymouth/themes/glow/throbber-13.png | Bin 0 -> 12244 bytes
.../usr/share/plymouth/themes/glow/throbber-14.png | Bin 0 -> 11344 bytes
.../usr/share/plymouth/themes/glow/throbber-15.png | Bin 0 -> 6761 bytes
.../usr/share/plymouth/themes/glow/throbber-16.png | Bin 0 -> 6899 bytes
.../usr/share/plymouth/themes/glow/throbber-17.png | Bin 0 -> 6937 bytes
.../usr/share/plymouth/themes/glow/throbber-18.png | Bin 0 -> 6936 bytes
.../usr/share/plymouth/themes/glow/throbber-19.png | Bin 0 -> 6959 bytes
.../usr/share/plymouth/themes/script/box.png | Bin 0 -> 870 bytes
.../usr/share/plymouth/themes/script/bullet.png | Bin 0 -> 296 bytes
.../usr/share/plymouth/themes/script/entry.png | Bin 0 -> 350 bytes
.../usr/share/plymouth/themes/script/lock.png | Bin 0 -> 1896 bytes
.../share/plymouth/themes/script/progress_bar.png | Bin 0 -> 173 bytes
.../share/plymouth/themes/script/progress_box.png | Bin 0 -> 196 bytes
.../share/plymouth/themes/script/script.plymouth | 11 +
.../usr/share/plymouth/themes/script/script.script | 164 ++++
.../usr/share/plymouth/themes/solar/box.png | Bin 0 -> 870 bytes
.../usr/share/plymouth/themes/solar/bullet.png | Bin 0 -> 296 bytes
.../usr/share/plymouth/themes/solar/entry.png | Bin 0 -> 350 bytes
.../usr/share/plymouth/themes/solar/lock.png | Bin 0 -> 1896 bytes
.../share/plymouth/themes/solar/progress_bar.png | Bin 0 -> 246 bytes
.../usr/share/plymouth/themes/solar/solar.plymouth | 7 +
.../usr/share/plymouth/themes/solar/star.png | Bin 0 -> 355666 bytes
.../usr/share/plymouth/themes/spinfinity/box.png | Bin 0 -> 870 bytes
.../share/plymouth/themes/spinfinity/bullet.png | Bin 0 -> 296 bytes
.../usr/share/plymouth/themes/spinfinity/entry.png | Bin 0 -> 350 bytes
.../usr/share/plymouth/themes/spinfinity/lock.png | Bin 0 -> 1896 bytes
.../plymouth/themes/spinfinity/spinfinity.plymouth | 7 +
.../plymouth/themes/spinfinity/throbber-00.png | Bin 0 -> 244 bytes
.../plymouth/themes/spinfinity/throbber-01.png | Bin 0 -> 304 bytes
.../plymouth/themes/spinfinity/throbber-02.png | Bin 0 -> 370 bytes
.../plymouth/themes/spinfinity/throbber-03.png | Bin 0 -> 424 bytes
.../plymouth/themes/spinfinity/throbber-04.png | Bin 0 -> 508 bytes
.../plymouth/themes/spinfinity/throbber-05.png | Bin 0 -> 563 bytes
.../plymouth/themes/spinfinity/throbber-06.png | Bin 0 -> 589 bytes
.../plymouth/themes/spinfinity/throbber-07.png | Bin 0 -> 562 bytes
.../plymouth/themes/spinfinity/throbber-08.png | Bin 0 -> 567 bytes
.../plymouth/themes/spinfinity/throbber-09.png | Bin 0 -> 560 bytes
.../plymouth/themes/spinfinity/throbber-10.png | Bin 0 -> 526 bytes
.../plymouth/themes/spinfinity/throbber-11.png | Bin 0 -> 492 bytes
.../plymouth/themes/spinfinity/throbber-12.png | Bin 0 -> 424 bytes
.../plymouth/themes/spinfinity/throbber-13.png | Bin 0 -> 360 bytes
.../plymouth/themes/spinfinity/throbber-14.png | Bin 0 -> 300 bytes
.../plymouth/themes/spinfinity/throbber-15.png | Bin 0 -> 244 bytes
.../plymouth/themes/spinfinity/throbber-16.png | Bin 0 -> 213 bytes
.../plymouth/themes/spinfinity/throbber-17.png | Bin 0 -> 245 bytes
.../plymouth/themes/spinfinity/throbber-18.png | Bin 0 -> 306 bytes
.../plymouth/themes/spinfinity/throbber-19.png | Bin 0 -> 372 bytes
.../plymouth/themes/spinfinity/throbber-20.png | Bin 0 -> 424 bytes
.../plymouth/themes/spinfinity/throbber-21.png | Bin 0 -> 513 bytes
.../plymouth/themes/spinfinity/throbber-22.png | Bin 0 -> 551 bytes
.../plymouth/themes/spinfinity/throbber-23.png | Bin 0 -> 595 bytes
.../plymouth/themes/spinfinity/throbber-24.png | Bin 0 -> 571 bytes
.../plymouth/themes/spinfinity/throbber-25.png | Bin 0 -> 570 bytes
.../plymouth/themes/spinfinity/throbber-26.png | Bin 0 -> 566 bytes
.../plymouth/themes/spinfinity/throbber-27.png | Bin 0 -> 521 bytes
.../plymouth/themes/spinfinity/throbber-28.png | Bin 0 -> 480 bytes
.../plymouth/themes/spinfinity/throbber-29.png | Bin 0 -> 424 bytes
.../plymouth/themes/spinfinity/throbber-30.png | Bin 0 -> 356 bytes
.../plymouth/themes/spinfinity/throbber-31.png | Bin 0 -> 293 bytes
.../plymouth/themes/spinfinity/throbber-32.png | Bin 0 -> 243 bytes
.../plymouth/themes/spinfinity/throbber-33.png | Bin 0 -> 213 bytes
.../usr/share/plymouth/themes/text/text.plymouth | 4 +
src/initramfs/packages/strace/usr/bin/strace | Bin 0 -> 207880 bytes
src/initramfs/rootfs/bin/ash | 1 +
src/initramfs/rootfs/bin/bash | 1 +
src/initramfs/rootfs/bin/busybox | Bin 0 -> 401212 bytes
src/initramfs/rootfs/bin/cat | 1 +
src/initramfs/rootfs/bin/chgrp | 1 +
src/initramfs/rootfs/bin/chmod | 1 +
src/initramfs/rootfs/bin/chown | 1 +
src/initramfs/rootfs/bin/cp | 1 +
src/initramfs/rootfs/bin/cpio | 1 +
src/initramfs/rootfs/bin/cttyhack | 1 +
src/initramfs/rootfs/bin/date | 1 +
src/initramfs/rootfs/bin/dd | 1 +
src/initramfs/rootfs/bin/df | 1 +
src/initramfs/rootfs/bin/dmesg | 1 +
src/initramfs/rootfs/bin/dnsdomainname | 1 +
src/initramfs/rootfs/bin/dumpkmap | 1 +
src/initramfs/rootfs/bin/echo | 1 +
src/initramfs/rootfs/bin/egrep | 1 +
src/initramfs/rootfs/bin/false | 1 +
src/initramfs/rootfs/bin/grep | 1 +
src/initramfs/rootfs/bin/gunzip | 1 +
src/initramfs/rootfs/bin/gzip | 1 +
src/initramfs/rootfs/bin/hostname | 1 +
src/initramfs/rootfs/bin/ip | 1 +
src/initramfs/rootfs/bin/ipcalc | 1 +
src/initramfs/rootfs/bin/kill | 1 +
src/initramfs/rootfs/bin/ln | 1 +
src/initramfs/rootfs/bin/ls | 1 +
src/initramfs/rootfs/bin/mkdir | 1 +
src/initramfs/rootfs/bin/mknod | 1 +
src/initramfs/rootfs/bin/mount | 1 +
src/initramfs/rootfs/bin/mv | 1 +
src/initramfs/rootfs/bin/netstat | 1 +
src/initramfs/rootfs/bin/nice | 1 +
src/initramfs/rootfs/bin/pidof | 1 +
src/initramfs/rootfs/bin/ping | 1 +
src/initramfs/rootfs/bin/ps | 1 +
src/initramfs/rootfs/bin/pwd | 1 +
src/initramfs/rootfs/bin/rev | 1 +
src/initramfs/rootfs/bin/rm | 1 +
src/initramfs/rootfs/bin/sed | 1 +
src/initramfs/rootfs/bin/sh | 1 +
src/initramfs/rootfs/bin/sleep | 1 +
src/initramfs/rootfs/bin/sync | 1 +
src/initramfs/rootfs/bin/tar | 1 +
src/initramfs/rootfs/bin/touch | 1 +
src/initramfs/rootfs/bin/true | 1 +
src/initramfs/rootfs/bin/umount | 1 +
src/initramfs/rootfs/bin/uname | 1 +
src/initramfs/rootfs/bin/usleep | 1 +
src/initramfs/rootfs/bin/vi | 1 +
src/initramfs/rootfs/bin/zcat | 1 +
src/initramfs/rootfs/lib/ld-2.11.2.so | Bin 0 -> 113964 bytes
src/initramfs/rootfs/lib/ld-linux.so.2 | 1 +
src/initramfs/rootfs/lib/libc.so.6 | Bin 0 -> 1315080 bytes
src/initramfs/rootfs/lib/libdbus-1.so.3 | Bin 0 -> 231492 bytes
src/initramfs/rootfs/lib/libdl.so.2 | Bin 0 -> 9736 bytes
src/initramfs/rootfs/lib/libm.so.6 | Bin 0 -> 149392 bytes
src/initramfs/rootfs/lib/libnss_dns-2.11.2.so | Bin 0 -> 22036 bytes
src/initramfs/rootfs/lib/libnss_dns.so.2 | 1 +
src/initramfs/rootfs/lib/libresolv-2.11.2.so | Bin 0 -> 71432 bytes
src/initramfs/rootfs/lib/libresolv.so.2 | 1 +
src/initramfs/rootfs/lib/librt.so.1 | Bin 0 -> 30684 bytes
src/initramfs/rootfs/linuxrc | 1 +
src/initramfs/rootfs/sbin/arp | 1 +
src/initramfs/rootfs/sbin/bootchartd | 1 +
src/initramfs/rootfs/sbin/fbsplash | 1 +
src/initramfs/rootfs/sbin/fdisk | 1 +
src/initramfs/rootfs/sbin/getty | 1 +
src/initramfs/rootfs/sbin/halt | 1 +
src/initramfs/rootfs/sbin/hdparm | 1 +
src/initramfs/rootfs/sbin/hwclock | 1 +
src/initramfs/rootfs/sbin/init | 1 +
src/initramfs/rootfs/sbin/inotifyd | 1 +
src/initramfs/rootfs/sbin/insmod | 1 +
src/initramfs/rootfs/sbin/klogd | 1 +
src/initramfs/rootfs/sbin/ldconfig | Bin 0 -> 651456 bytes
src/initramfs/rootfs/sbin/loadkmap | 1 +
src/initramfs/rootfs/sbin/logread | 1 +
src/initramfs/rootfs/sbin/lsmod | 1 +
src/initramfs/rootfs/sbin/lspci | 1 +
src/initramfs/rootfs/sbin/lsusb | 1 +
src/initramfs/rootfs/sbin/mdev | 1 +
src/initramfs/rootfs/sbin/mkdosfs | 1 +
src/initramfs/rootfs/sbin/mkfs.vfat | 1 +
src/initramfs/rootfs/sbin/mkswap | 1 +
src/initramfs/rootfs/sbin/modinfo | 1 +
src/initramfs/rootfs/sbin/modprobe | 1 +
src/initramfs/rootfs/sbin/poweroff | 1 +
src/initramfs/rootfs/sbin/reboot | 1 +
src/initramfs/rootfs/sbin/rmmod | 1 +
src/initramfs/rootfs/sbin/route | 1 +
src/initramfs/rootfs/sbin/setconsole | 1 +
src/initramfs/rootfs/sbin/start-stop-daemon | 1 +
src/initramfs/rootfs/sbin/swapoff | 1 +
src/initramfs/rootfs/sbin/swapon | 1 +
src/initramfs/rootfs/sbin/switch_root | 1 +
src/initramfs/rootfs/sbin/sysctl | 1 +
src/initramfs/rootfs/sbin/syslogd | 1 +
src/initramfs/rootfs/sbin/tunctl | 1 +
src/initramfs/rootfs/sbin/udhcpc | 1 +
src/initramfs/rootfs/sbin/vconfig | 1 +
src/initramfs/rootfs/sbin/watchdog | 1 +
src/initramfs/rootfs/sbin/zcip | 1 +
src/initramfs/rootfs/usr/bin/[ | 1 +
src/initramfs/rootfs/usr/bin/[[ | 1 +
src/initramfs/rootfs/usr/bin/ar | 1 +
src/initramfs/rootfs/usr/bin/arping | 1 +
src/initramfs/rootfs/usr/bin/awk | 1 +
src/initramfs/rootfs/usr/bin/basename | 1 +
src/initramfs/rootfs/usr/bin/bunzip2 | 1 +
src/initramfs/rootfs/usr/bin/bzcat | 1 +
src/initramfs/rootfs/usr/bin/bzip2 | 1 +
src/initramfs/rootfs/usr/bin/chvt | 1 +
src/initramfs/rootfs/usr/bin/cut | 1 +
src/initramfs/rootfs/usr/bin/deallocvt | 1 +
src/initramfs/rootfs/usr/bin/du | 1 +
src/initramfs/rootfs/usr/bin/dumpleases | 1 +
src/initramfs/rootfs/usr/bin/eject | 1 +
src/initramfs/rootfs/usr/bin/env | 1 +
src/initramfs/rootfs/usr/bin/expr | 1 +
src/initramfs/rootfs/usr/bin/fgconsole | 1 +
src/initramfs/rootfs/usr/bin/find | 1 +
src/initramfs/rootfs/usr/bin/flock | 1 +
src/initramfs/rootfs/usr/bin/free | 1 +
src/initramfs/rootfs/usr/bin/ftpget | 1 +
src/initramfs/rootfs/usr/bin/ftpput | 1 +
src/initramfs/rootfs/usr/bin/head | 1 +
src/initramfs/rootfs/usr/bin/id | 1 +
src/initramfs/rootfs/usr/bin/killall | 1 +
src/initramfs/rootfs/usr/bin/ld | Bin 0 -> 529192 bytes
src/initramfs/rootfs/usr/bin/ldd | 193 ++++
src/initramfs/rootfs/usr/bin/less | 1 +
src/initramfs/rootfs/usr/bin/logger | 1 +
src/initramfs/rootfs/usr/bin/lspci | 1 +
src/initramfs/rootfs/usr/bin/lsusb | 1 +
src/initramfs/rootfs/usr/bin/lzcat | 1 +
src/initramfs/rootfs/usr/bin/lzma | 1 +
src/initramfs/rootfs/usr/bin/lzmacat | 1 +
src/initramfs/rootfs/usr/bin/md5sum | 1 +
src/initramfs/rootfs/usr/bin/nc | 1 +
src/initramfs/rootfs/usr/bin/nmeter | 1 +
src/initramfs/rootfs/usr/bin/nslookup | 1 +
src/initramfs/rootfs/usr/bin/openvt | 1 +
src/initramfs/rootfs/usr/bin/pkill | 1 +
src/initramfs/rootfs/usr/bin/printf | 1 +
src/initramfs/rootfs/usr/bin/readahead | 1 +
src/initramfs/rootfs/usr/bin/readlink | 1 +
src/initramfs/rootfs/usr/bin/realpath | 1 +
src/initramfs/rootfs/usr/bin/rpm2cpio | 1 +
src/initramfs/rootfs/usr/bin/setsid | 1 +
src/initramfs/rootfs/usr/bin/smemcap | 1 +
src/initramfs/rootfs/usr/bin/sort | 1 +
src/initramfs/rootfs/usr/bin/strings | 1 +
src/initramfs/rootfs/usr/bin/tail | 1 +
src/initramfs/rootfs/usr/bin/telnet | 1 +
src/initramfs/rootfs/usr/bin/test | 1 +
src/initramfs/rootfs/usr/bin/tftp | 1 +
src/initramfs/rootfs/usr/bin/time | 1 +
src/initramfs/rootfs/usr/bin/timeout | 1 +
src/initramfs/rootfs/usr/bin/top | 1 +
src/initramfs/rootfs/usr/bin/tr | 1 +
src/initramfs/rootfs/usr/bin/ttysize | 1 +
src/initramfs/rootfs/usr/bin/uniq | 1 +
src/initramfs/rootfs/usr/bin/unlzma | 1 +
src/initramfs/rootfs/usr/bin/unxz | 1 +
src/initramfs/rootfs/usr/bin/uptime | 1 +
src/initramfs/rootfs/usr/bin/wc | 1 +
src/initramfs/rootfs/usr/bin/wget | 1 +
src/initramfs/rootfs/usr/bin/which | 1 +
src/initramfs/rootfs/usr/bin/whoami | 1 +
src/initramfs/rootfs/usr/bin/xargs | 1 +
src/initramfs/rootfs/usr/bin/xz | 1 +
src/initramfs/rootfs/usr/bin/xzcat | 1 +
.../usr/lib/libbfd-2.20.1-system.20100303.so | Bin 0 -> 862364 bytes
src/initramfs/rootfs/usr/lib/libfusion-1.2.so.9 | Bin 0 -> 32432 bytes
src/initramfs/rootfs/usr/lib/libgcc_s.so.1 | Bin 0 -> 116600 bytes
src/initramfs/rootfs/usr/lib/libhal.so.1 | Bin 0 -> 61852 bytes
src/initramfs/rootfs/usr/lib/libhd.so.16 | Bin 0 -> 1865944 bytes
src/initramfs/rootfs/usr/lib/libm.so | 1 +
src/initramfs/rootfs/usr/lib/libpcre.so.3 | Bin 0 -> 194216 bytes
src/initramfs/rootfs/usr/lib/libz.so.1 | Bin 0 -> 79980 bytes
src/initramfs/rootfs/usr/sbin/brctl | 1 +
src/initramfs/rootfs/usr/sbin/chroot | 1 +
src/initramfs/rootfs/usr/sbin/dhcprelay | 1 +
src/initramfs/rootfs/usr/sbin/fbset | 1 +
src/initramfs/rootfs/usr/sbin/httpd | 1 +
src/initramfs/rootfs/usr/sbin/hwinfo | Bin 0 -> 28020 bytes
src/initramfs/rootfs/usr/sbin/loadfont | 1 +
src/initramfs/rootfs/usr/sbin/rdate | 1 +
src/initramfs/rootfs/usr/sbin/setlogcons | 1 +
src/initramfs/rootfs/usr/sbin/udhcpd | 1 +
src/initramfs/scripts/bin/dhcpmkconfig | 47 +
src/initramfs/scripts/bin/hwautocfg | 299 ++++++
src/initramfs/scripts/bin/init-wrapper | 60 ++
src/initramfs/scripts/bin/servconfig | 308 ++++++
src/initramfs/scripts/etc/functions | 1034 ++++++++++++++++++++
src/initramfs/scripts/etc/ldap-functions | 75 ++
src/initramfs/scripts/etc/messages | 204 ++++
src/initramfs/scripts/etc/messages.de | 215 ++++
src/initramfs/scripts/init | 1034 ++++++++++++++++++++
src/initramfs/stage3-stuff/bin/dhcpmkconfig | 47 -
src/initramfs/stage3-stuff/bin/hwautocfg | 299 ------
src/initramfs/stage3-stuff/bin/init-wrapper | 60 --
src/initramfs/stage3-stuff/bin/servconfig | 308 ------
src/initramfs/stage3-stuff/etc/functions | 1034 --------------------
src/initramfs/stage3-stuff/etc/ldap-functions | 75 --
src/initramfs/stage3-stuff/etc/messages | 204 ----
src/initramfs/stage3-stuff/etc/messages.de | 215 ----
src/initramfs/stage3-stuff/init | 1034 --------------------
src/initramfs/uclib-rootfs | 1 -
src/installer/OpenSLX/OSSetup/Engine.pm | 38 +-
src/os-plugins/plugins/bootsplash/XX_bootsplash.sh | 4 +-
src/os-plugins/plugins/qemukvm/XX_qemukvm.sh | 12 +-
src/os-plugins/plugins/qemukvm/files/ifup | 6 +-
.../plugins/qemukvm/files/run-virt.include | 18 +-
.../plugins/vmware/OpenSLX/OSPlugin/vmware.pm | 4 +-
src/tools/README.busybox | 2 +
749 files changed, 4598 insertions(+), 4597 deletions(-)
create mode 100755 src/boot-env/pbs/rootfs/bin/bbinit
create mode 100755 src/boot-env/pbs/rootfs/bin/handleEvents
create mode 100755 src/boot-env/pbs/rootfs/etc/bbinit.d/example
create mode 100644 src/boot-env/pbs/rootfs/etc/events/example
create mode 100755 src/boot-env/pbs/rootfs/init
create mode 100644 src/boot-env/pbs/rootfs/preboot/preboot-scripts/dialog.functions
delete mode 100755 src/boot-env/pbs/uclib-rootfs/bin/bbinit
delete mode 100755 src/boot-env/pbs/uclib-rootfs/bin/handleEvents
delete mode 100755 src/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example
delete mode 100644 src/boot-env/pbs/uclib-rootfs/etc/events/example
delete mode 100755 src/boot-env/pbs/uclib-rootfs/init
delete mode 100644 src/boot-env/pbs/uclib-rootfs/preboot/preboot-scripts/dialog.functions
create mode 100755 src/boot-env/preboot/rootfs/init
create mode 120000 src/boot-env/preboot/rootfs/lib/libcurses.so
create mode 120000 src/boot-env/preboot/rootfs/lib/libncurses.so
create mode 120000 src/boot-env/preboot/rootfs/lib/libncurses.so.5
create mode 100755 src/boot-env/preboot/rootfs/lib/libncurses.so.5.6
create mode 100755 src/boot-env/preboot/rootfs/usr/bin/clear
create mode 100755 src/boot-env/preboot/rootfs/usr/bin/dialog
create mode 100755 src/boot-env/preboot/rootfs/usr/bin/w3m
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libcrypto.so
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libcrypto.so.0.9.8
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libcurses.so
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libform.so
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libform.so.5
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libform.so.5.6
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libmenu.so
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5.6
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libncurses.so
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libpanel.so
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5.6
create mode 120000 src/boot-env/preboot/rootfs/usr/lib/libssl.so
create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libssl.so.0.9.8
create mode 100755 src/boot-env/preboot/rootfs/usr/sbin/kdump
create mode 100755 src/boot-env/preboot/rootfs/usr/sbin/kexec
delete mode 100755 src/boot-env/preboot/uclib-rootfs/init
delete mode 120000 src/boot-env/preboot/uclib-rootfs/lib/libcurses.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/lib/libncurses.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5
delete mode 100755 src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5.6
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/bin/clear
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/bin/dialog
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/bin/w3m
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so.0.9.8
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5.6
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5.6
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libncurses.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5.6
delete mode 120000 src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so.0.9.8
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/sbin/kdump
delete mode 100755 src/boot-env/preboot/uclib-rootfs/usr/sbin/kexec
delete mode 100755 src/initramfs/eglibc-packages/compcache/usr/bin/rzscontrol
delete mode 100644 src/initramfs/eglibc-packages/hwinfo/lib/libdbus-1.so.3
delete mode 100644 src/initramfs/eglibc-packages/hwinfo/lib/librt.so.1
delete mode 100644 src/initramfs/eglibc-packages/hwinfo/usr/lib/libhal.so.1
delete mode 100644 src/initramfs/eglibc-packages/hwinfo/usr/lib/libhd.so.16
delete mode 100755 src/initramfs/eglibc-packages/hwinfo/usr/sbin/hwinfo
delete mode 100644 src/initramfs/eglibc-packages/mksquashfs/lib/libm.so.6
delete mode 100755 src/initramfs/eglibc-packages/mksquashfs/lib/libpthread.so.0
delete mode 100755 src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_3_3
delete mode 100755 src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_4
delete mode 100755 src/initramfs/eglibc-packages/nbd-client/sbin/nbd-client
delete mode 100755 src/initramfs/eglibc-packages/plymouth/bin/plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/lib/libply-splash-core.so.2
delete mode 100644 src/initramfs/eglibc-packages/plymouth/lib/libply.so.2
delete mode 100644 src/initramfs/eglibc-packages/plymouth/lib/librt.so.1
delete mode 100755 src/initramfs/eglibc-packages/plymouth/sbin/plymouthd
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/details/details.plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/star.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/box.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/bullet.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/entry.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/lock.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/box.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/bullet.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/entry.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/lock.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_box.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.script
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/box.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/bullet.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/entry.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/lock.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/star.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png
delete mode 100644 src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/text/text.plymouth
delete mode 100755 src/initramfs/eglibc-packages/strace/usr/bin/strace
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ash
delete mode 120000 src/initramfs/eglibc-rootfs/bin/bash
delete mode 100755 src/initramfs/eglibc-rootfs/bin/busybox
delete mode 120000 src/initramfs/eglibc-rootfs/bin/cat
delete mode 120000 src/initramfs/eglibc-rootfs/bin/chgrp
delete mode 120000 src/initramfs/eglibc-rootfs/bin/chmod
delete mode 120000 src/initramfs/eglibc-rootfs/bin/chown
delete mode 120000 src/initramfs/eglibc-rootfs/bin/cp
delete mode 120000 src/initramfs/eglibc-rootfs/bin/cpio
delete mode 120000 src/initramfs/eglibc-rootfs/bin/cttyhack
delete mode 120000 src/initramfs/eglibc-rootfs/bin/date
delete mode 120000 src/initramfs/eglibc-rootfs/bin/dd
delete mode 120000 src/initramfs/eglibc-rootfs/bin/df
delete mode 120000 src/initramfs/eglibc-rootfs/bin/dmesg
delete mode 120000 src/initramfs/eglibc-rootfs/bin/dnsdomainname
delete mode 120000 src/initramfs/eglibc-rootfs/bin/dumpkmap
delete mode 120000 src/initramfs/eglibc-rootfs/bin/echo
delete mode 120000 src/initramfs/eglibc-rootfs/bin/egrep
delete mode 120000 src/initramfs/eglibc-rootfs/bin/false
delete mode 120000 src/initramfs/eglibc-rootfs/bin/grep
delete mode 120000 src/initramfs/eglibc-rootfs/bin/gunzip
delete mode 120000 src/initramfs/eglibc-rootfs/bin/gzip
delete mode 120000 src/initramfs/eglibc-rootfs/bin/hostname
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ip
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ipcalc
delete mode 120000 src/initramfs/eglibc-rootfs/bin/kill
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ln
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ls
delete mode 120000 src/initramfs/eglibc-rootfs/bin/mkdir
delete mode 120000 src/initramfs/eglibc-rootfs/bin/mknod
delete mode 120000 src/initramfs/eglibc-rootfs/bin/mount
delete mode 120000 src/initramfs/eglibc-rootfs/bin/mv
delete mode 120000 src/initramfs/eglibc-rootfs/bin/netstat
delete mode 120000 src/initramfs/eglibc-rootfs/bin/nice
delete mode 120000 src/initramfs/eglibc-rootfs/bin/pidof
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ping
delete mode 120000 src/initramfs/eglibc-rootfs/bin/ps
delete mode 120000 src/initramfs/eglibc-rootfs/bin/pwd
delete mode 120000 src/initramfs/eglibc-rootfs/bin/rev
delete mode 120000 src/initramfs/eglibc-rootfs/bin/rm
delete mode 120000 src/initramfs/eglibc-rootfs/bin/sed
delete mode 120000 src/initramfs/eglibc-rootfs/bin/sh
delete mode 120000 src/initramfs/eglibc-rootfs/bin/sleep
delete mode 120000 src/initramfs/eglibc-rootfs/bin/sync
delete mode 120000 src/initramfs/eglibc-rootfs/bin/tar
delete mode 120000 src/initramfs/eglibc-rootfs/bin/touch
delete mode 120000 src/initramfs/eglibc-rootfs/bin/true
delete mode 120000 src/initramfs/eglibc-rootfs/bin/umount
delete mode 120000 src/initramfs/eglibc-rootfs/bin/uname
delete mode 120000 src/initramfs/eglibc-rootfs/bin/usleep
delete mode 120000 src/initramfs/eglibc-rootfs/bin/vi
delete mode 120000 src/initramfs/eglibc-rootfs/bin/zcat
delete mode 100755 src/initramfs/eglibc-rootfs/lib/ld-2.11.2.so
delete mode 120000 src/initramfs/eglibc-rootfs/lib/ld-linux.so.2
delete mode 100755 src/initramfs/eglibc-rootfs/lib/libc.so.6
delete mode 100644 src/initramfs/eglibc-rootfs/lib/libdbus-1.so.3
delete mode 100644 src/initramfs/eglibc-rootfs/lib/libdl.so.2
delete mode 100644 src/initramfs/eglibc-rootfs/lib/libm.so.6
delete mode 100644 src/initramfs/eglibc-rootfs/lib/libnss_dns-2.11.2.so
delete mode 120000 src/initramfs/eglibc-rootfs/lib/libnss_dns.so.2
delete mode 100644 src/initramfs/eglibc-rootfs/lib/libresolv-2.11.2.so
delete mode 120000 src/initramfs/eglibc-rootfs/lib/libresolv.so.2
delete mode 100644 src/initramfs/eglibc-rootfs/lib/librt.so.1
delete mode 120000 src/initramfs/eglibc-rootfs/linuxrc
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/arp
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/bootchartd
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/fbsplash
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/fdisk
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/getty
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/halt
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/hdparm
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/hwclock
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/init
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/inotifyd
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/insmod
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/klogd
delete mode 100755 src/initramfs/eglibc-rootfs/sbin/ldconfig
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/loadkmap
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/logread
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/lsmod
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/lspci
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/lsusb
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/mdev
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/mkdosfs
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/mkfs.vfat
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/mkswap
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/modinfo
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/modprobe
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/poweroff
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/reboot
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/rmmod
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/route
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/setconsole
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/start-stop-daemon
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/swapoff
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/swapon
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/switch_root
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/sysctl
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/syslogd
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/tunctl
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/udhcpc
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/vconfig
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/watchdog
delete mode 120000 src/initramfs/eglibc-rootfs/sbin/zcip
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/[
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/[[
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/ar
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/arping
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/awk
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/basename
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/bunzip2
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/bzcat
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/bzip2
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/chvt
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/cut
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/deallocvt
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/du
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/dumpleases
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/eject
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/env
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/expr
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/fgconsole
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/find
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/flock
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/free
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/ftpget
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/ftpput
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/head
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/id
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/killall
delete mode 100755 src/initramfs/eglibc-rootfs/usr/bin/ld
delete mode 100755 src/initramfs/eglibc-rootfs/usr/bin/ldd
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/less
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/logger
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/lspci
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/lsusb
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/lzcat
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/lzma
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/lzmacat
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/md5sum
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/nc
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/nmeter
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/nslookup
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/openvt
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/pkill
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/printf
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/readahead
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/readlink
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/realpath
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/rpm2cpio
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/setsid
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/smemcap
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/sort
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/strings
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/tail
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/telnet
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/test
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/tftp
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/time
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/timeout
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/top
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/tr
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/ttysize
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/uniq
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/unlzma
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/unxz
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/uptime
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/wc
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/wget
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/which
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/whoami
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/xargs
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/xz
delete mode 120000 src/initramfs/eglibc-rootfs/usr/bin/xzcat
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libbfd-2.20.1-system.20100303.so
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libfusion-1.2.so.9
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libgcc_s.so.1
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libhal.so.1
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libhd.so.16
delete mode 120000 src/initramfs/eglibc-rootfs/usr/lib/libm.so
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libpcre.so.3
delete mode 100644 src/initramfs/eglibc-rootfs/usr/lib/libz.so.1
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/brctl
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/chroot
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/dhcprelay
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/fbset
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/httpd
delete mode 100755 src/initramfs/eglibc-rootfs/usr/sbin/hwinfo
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/loadfont
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/rdate
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/setlogcons
delete mode 120000 src/initramfs/eglibc-rootfs/usr/sbin/udhcpd
create mode 100755 src/initramfs/packages/compcache/usr/bin/rzscontrol
create mode 100644 src/initramfs/packages/hwinfo/lib/libdbus-1.so.3
create mode 100644 src/initramfs/packages/hwinfo/lib/librt.so.1
create mode 100644 src/initramfs/packages/hwinfo/usr/lib/libhal.so.1
create mode 100644 src/initramfs/packages/hwinfo/usr/lib/libhd.so.16
create mode 100755 src/initramfs/packages/hwinfo/usr/sbin/hwinfo
create mode 100644 src/initramfs/packages/mksquashfs/lib/libm.so.6
create mode 100755 src/initramfs/packages/mksquashfs/lib/libpthread.so.0
create mode 100755 src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_3_3
create mode 100755 src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_4
create mode 100755 src/initramfs/packages/nbd-client/sbin/nbd-client
create mode 100755 src/initramfs/packages/plymouth/bin/plymouth
create mode 100644 src/initramfs/packages/plymouth/lib/libply-splash-core.so.2
create mode 100644 src/initramfs/packages/plymouth/lib/libply.so.2
create mode 100644 src/initramfs/packages/plymouth/lib/librt.so.1
create mode 100755 src/initramfs/packages/plymouth/sbin/plymouthd
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/details/details.plymouth
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/star.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/box.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/bullet.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/entry.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/lock.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/box.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/bullet.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/entry.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/lock.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_box.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.plymouth
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.script
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/box.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/bullet.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/entry.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/lock.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/star.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png
create mode 100644 src/initramfs/packages/plymouth/usr/share/plymouth/themes/text/text.plymouth
create mode 100755 src/initramfs/packages/strace/usr/bin/strace
create mode 120000 src/initramfs/rootfs/bin/ash
create mode 120000 src/initramfs/rootfs/bin/bash
create mode 100755 src/initramfs/rootfs/bin/busybox
create mode 120000 src/initramfs/rootfs/bin/cat
create mode 120000 src/initramfs/rootfs/bin/chgrp
create mode 120000 src/initramfs/rootfs/bin/chmod
create mode 120000 src/initramfs/rootfs/bin/chown
create mode 120000 src/initramfs/rootfs/bin/cp
create mode 120000 src/initramfs/rootfs/bin/cpio
create mode 120000 src/initramfs/rootfs/bin/cttyhack
create mode 120000 src/initramfs/rootfs/bin/date
create mode 120000 src/initramfs/rootfs/bin/dd
create mode 120000 src/initramfs/rootfs/bin/df
create mode 120000 src/initramfs/rootfs/bin/dmesg
create mode 120000 src/initramfs/rootfs/bin/dnsdomainname
create mode 120000 src/initramfs/rootfs/bin/dumpkmap
create mode 120000 src/initramfs/rootfs/bin/echo
create mode 120000 src/initramfs/rootfs/bin/egrep
create mode 120000 src/initramfs/rootfs/bin/false
create mode 120000 src/initramfs/rootfs/bin/grep
create mode 120000 src/initramfs/rootfs/bin/gunzip
create mode 120000 src/initramfs/rootfs/bin/gzip
create mode 120000 src/initramfs/rootfs/bin/hostname
create mode 120000 src/initramfs/rootfs/bin/ip
create mode 120000 src/initramfs/rootfs/bin/ipcalc
create mode 120000 src/initramfs/rootfs/bin/kill
create mode 120000 src/initramfs/rootfs/bin/ln
create mode 120000 src/initramfs/rootfs/bin/ls
create mode 120000 src/initramfs/rootfs/bin/mkdir
create mode 120000 src/initramfs/rootfs/bin/mknod
create mode 120000 src/initramfs/rootfs/bin/mount
create mode 120000 src/initramfs/rootfs/bin/mv
create mode 120000 src/initramfs/rootfs/bin/netstat
create mode 120000 src/initramfs/rootfs/bin/nice
create mode 120000 src/initramfs/rootfs/bin/pidof
create mode 120000 src/initramfs/rootfs/bin/ping
create mode 120000 src/initramfs/rootfs/bin/ps
create mode 120000 src/initramfs/rootfs/bin/pwd
create mode 120000 src/initramfs/rootfs/bin/rev
create mode 120000 src/initramfs/rootfs/bin/rm
create mode 120000 src/initramfs/rootfs/bin/sed
create mode 120000 src/initramfs/rootfs/bin/sh
create mode 120000 src/initramfs/rootfs/bin/sleep
create mode 120000 src/initramfs/rootfs/bin/sync
create mode 120000 src/initramfs/rootfs/bin/tar
create mode 120000 src/initramfs/rootfs/bin/touch
create mode 120000 src/initramfs/rootfs/bin/true
create mode 120000 src/initramfs/rootfs/bin/umount
create mode 120000 src/initramfs/rootfs/bin/uname
create mode 120000 src/initramfs/rootfs/bin/usleep
create mode 120000 src/initramfs/rootfs/bin/vi
create mode 120000 src/initramfs/rootfs/bin/zcat
create mode 100755 src/initramfs/rootfs/lib/ld-2.11.2.so
create mode 120000 src/initramfs/rootfs/lib/ld-linux.so.2
create mode 100755 src/initramfs/rootfs/lib/libc.so.6
create mode 100644 src/initramfs/rootfs/lib/libdbus-1.so.3
create mode 100644 src/initramfs/rootfs/lib/libdl.so.2
create mode 100644 src/initramfs/rootfs/lib/libm.so.6
create mode 100644 src/initramfs/rootfs/lib/libnss_dns-2.11.2.so
create mode 120000 src/initramfs/rootfs/lib/libnss_dns.so.2
create mode 100644 src/initramfs/rootfs/lib/libresolv-2.11.2.so
create mode 120000 src/initramfs/rootfs/lib/libresolv.so.2
create mode 100644 src/initramfs/rootfs/lib/librt.so.1
create mode 120000 src/initramfs/rootfs/linuxrc
create mode 120000 src/initramfs/rootfs/sbin/arp
create mode 120000 src/initramfs/rootfs/sbin/bootchartd
create mode 120000 src/initramfs/rootfs/sbin/fbsplash
create mode 120000 src/initramfs/rootfs/sbin/fdisk
create mode 120000 src/initramfs/rootfs/sbin/getty
create mode 120000 src/initramfs/rootfs/sbin/halt
create mode 120000 src/initramfs/rootfs/sbin/hdparm
create mode 120000 src/initramfs/rootfs/sbin/hwclock
create mode 120000 src/initramfs/rootfs/sbin/init
create mode 120000 src/initramfs/rootfs/sbin/inotifyd
create mode 120000 src/initramfs/rootfs/sbin/insmod
create mode 120000 src/initramfs/rootfs/sbin/klogd
create mode 100755 src/initramfs/rootfs/sbin/ldconfig
create mode 120000 src/initramfs/rootfs/sbin/loadkmap
create mode 120000 src/initramfs/rootfs/sbin/logread
create mode 120000 src/initramfs/rootfs/sbin/lsmod
create mode 120000 src/initramfs/rootfs/sbin/lspci
create mode 120000 src/initramfs/rootfs/sbin/lsusb
create mode 120000 src/initramfs/rootfs/sbin/mdev
create mode 120000 src/initramfs/rootfs/sbin/mkdosfs
create mode 120000 src/initramfs/rootfs/sbin/mkfs.vfat
create mode 120000 src/initramfs/rootfs/sbin/mkswap
create mode 120000 src/initramfs/rootfs/sbin/modinfo
create mode 120000 src/initramfs/rootfs/sbin/modprobe
create mode 120000 src/initramfs/rootfs/sbin/poweroff
create mode 120000 src/initramfs/rootfs/sbin/reboot
create mode 120000 src/initramfs/rootfs/sbin/rmmod
create mode 120000 src/initramfs/rootfs/sbin/route
create mode 120000 src/initramfs/rootfs/sbin/setconsole
create mode 120000 src/initramfs/rootfs/sbin/start-stop-daemon
create mode 120000 src/initramfs/rootfs/sbin/swapoff
create mode 120000 src/initramfs/rootfs/sbin/swapon
create mode 120000 src/initramfs/rootfs/sbin/switch_root
create mode 120000 src/initramfs/rootfs/sbin/sysctl
create mode 120000 src/initramfs/rootfs/sbin/syslogd
create mode 120000 src/initramfs/rootfs/sbin/tunctl
create mode 120000 src/initramfs/rootfs/sbin/udhcpc
create mode 120000 src/initramfs/rootfs/sbin/vconfig
create mode 120000 src/initramfs/rootfs/sbin/watchdog
create mode 120000 src/initramfs/rootfs/sbin/zcip
create mode 120000 src/initramfs/rootfs/usr/bin/[
create mode 120000 src/initramfs/rootfs/usr/bin/[[
create mode 120000 src/initramfs/rootfs/usr/bin/ar
create mode 120000 src/initramfs/rootfs/usr/bin/arping
create mode 120000 src/initramfs/rootfs/usr/bin/awk
create mode 120000 src/initramfs/rootfs/usr/bin/basename
create mode 120000 src/initramfs/rootfs/usr/bin/bunzip2
create mode 120000 src/initramfs/rootfs/usr/bin/bzcat
create mode 120000 src/initramfs/rootfs/usr/bin/bzip2
create mode 120000 src/initramfs/rootfs/usr/bin/chvt
create mode 120000 src/initramfs/rootfs/usr/bin/cut
create mode 120000 src/initramfs/rootfs/usr/bin/deallocvt
create mode 120000 src/initramfs/rootfs/usr/bin/du
create mode 120000 src/initramfs/rootfs/usr/bin/dumpleases
create mode 120000 src/initramfs/rootfs/usr/bin/eject
create mode 120000 src/initramfs/rootfs/usr/bin/env
create mode 120000 src/initramfs/rootfs/usr/bin/expr
create mode 120000 src/initramfs/rootfs/usr/bin/fgconsole
create mode 120000 src/initramfs/rootfs/usr/bin/find
create mode 120000 src/initramfs/rootfs/usr/bin/flock
create mode 120000 src/initramfs/rootfs/usr/bin/free
create mode 120000 src/initramfs/rootfs/usr/bin/ftpget
create mode 120000 src/initramfs/rootfs/usr/bin/ftpput
create mode 120000 src/initramfs/rootfs/usr/bin/head
create mode 120000 src/initramfs/rootfs/usr/bin/id
create mode 120000 src/initramfs/rootfs/usr/bin/killall
create mode 100755 src/initramfs/rootfs/usr/bin/ld
create mode 100755 src/initramfs/rootfs/usr/bin/ldd
create mode 120000 src/initramfs/rootfs/usr/bin/less
create mode 120000 src/initramfs/rootfs/usr/bin/logger
create mode 120000 src/initramfs/rootfs/usr/bin/lspci
create mode 120000 src/initramfs/rootfs/usr/bin/lsusb
create mode 120000 src/initramfs/rootfs/usr/bin/lzcat
create mode 120000 src/initramfs/rootfs/usr/bin/lzma
create mode 120000 src/initramfs/rootfs/usr/bin/lzmacat
create mode 120000 src/initramfs/rootfs/usr/bin/md5sum
create mode 120000 src/initramfs/rootfs/usr/bin/nc
create mode 120000 src/initramfs/rootfs/usr/bin/nmeter
create mode 120000 src/initramfs/rootfs/usr/bin/nslookup
create mode 120000 src/initramfs/rootfs/usr/bin/openvt
create mode 120000 src/initramfs/rootfs/usr/bin/pkill
create mode 120000 src/initramfs/rootfs/usr/bin/printf
create mode 120000 src/initramfs/rootfs/usr/bin/readahead
create mode 120000 src/initramfs/rootfs/usr/bin/readlink
create mode 120000 src/initramfs/rootfs/usr/bin/realpath
create mode 120000 src/initramfs/rootfs/usr/bin/rpm2cpio
create mode 120000 src/initramfs/rootfs/usr/bin/setsid
create mode 120000 src/initramfs/rootfs/usr/bin/smemcap
create mode 120000 src/initramfs/rootfs/usr/bin/sort
create mode 120000 src/initramfs/rootfs/usr/bin/strings
create mode 120000 src/initramfs/rootfs/usr/bin/tail
create mode 120000 src/initramfs/rootfs/usr/bin/telnet
create mode 120000 src/initramfs/rootfs/usr/bin/test
create mode 120000 src/initramfs/rootfs/usr/bin/tftp
create mode 120000 src/initramfs/rootfs/usr/bin/time
create mode 120000 src/initramfs/rootfs/usr/bin/timeout
create mode 120000 src/initramfs/rootfs/usr/bin/top
create mode 120000 src/initramfs/rootfs/usr/bin/tr
create mode 120000 src/initramfs/rootfs/usr/bin/ttysize
create mode 120000 src/initramfs/rootfs/usr/bin/uniq
create mode 120000 src/initramfs/rootfs/usr/bin/unlzma
create mode 120000 src/initramfs/rootfs/usr/bin/unxz
create mode 120000 src/initramfs/rootfs/usr/bin/uptime
create mode 120000 src/initramfs/rootfs/usr/bin/wc
create mode 120000 src/initramfs/rootfs/usr/bin/wget
create mode 120000 src/initramfs/rootfs/usr/bin/which
create mode 120000 src/initramfs/rootfs/usr/bin/whoami
create mode 120000 src/initramfs/rootfs/usr/bin/xargs
create mode 120000 src/initramfs/rootfs/usr/bin/xz
create mode 120000 src/initramfs/rootfs/usr/bin/xzcat
create mode 100644 src/initramfs/rootfs/usr/lib/libbfd-2.20.1-system.20100303.so
create mode 100644 src/initramfs/rootfs/usr/lib/libfusion-1.2.so.9
create mode 100644 src/initramfs/rootfs/usr/lib/libgcc_s.so.1
create mode 100644 src/initramfs/rootfs/usr/lib/libhal.so.1
create mode 100644 src/initramfs/rootfs/usr/lib/libhd.so.16
create mode 120000 src/initramfs/rootfs/usr/lib/libm.so
create mode 100644 src/initramfs/rootfs/usr/lib/libpcre.so.3
create mode 100644 src/initramfs/rootfs/usr/lib/libz.so.1
create mode 120000 src/initramfs/rootfs/usr/sbin/brctl
create mode 120000 src/initramfs/rootfs/usr/sbin/chroot
create mode 120000 src/initramfs/rootfs/usr/sbin/dhcprelay
create mode 120000 src/initramfs/rootfs/usr/sbin/fbset
create mode 120000 src/initramfs/rootfs/usr/sbin/httpd
create mode 100755 src/initramfs/rootfs/usr/sbin/hwinfo
create mode 120000 src/initramfs/rootfs/usr/sbin/loadfont
create mode 120000 src/initramfs/rootfs/usr/sbin/rdate
create mode 120000 src/initramfs/rootfs/usr/sbin/setlogcons
create mode 120000 src/initramfs/rootfs/usr/sbin/udhcpd
create mode 100755 src/initramfs/scripts/bin/dhcpmkconfig
create mode 100755 src/initramfs/scripts/bin/hwautocfg
create mode 100755 src/initramfs/scripts/bin/init-wrapper
create mode 100755 src/initramfs/scripts/bin/servconfig
create mode 100644 src/initramfs/scripts/etc/functions
create mode 100644 src/initramfs/scripts/etc/ldap-functions
create mode 100644 src/initramfs/scripts/etc/messages
create mode 100644 src/initramfs/scripts/etc/messages.de
create mode 100755 src/initramfs/scripts/init
delete mode 100755 src/initramfs/stage3-stuff/bin/dhcpmkconfig
delete mode 100755 src/initramfs/stage3-stuff/bin/hwautocfg
delete mode 100755 src/initramfs/stage3-stuff/bin/init-wrapper
delete mode 100755 src/initramfs/stage3-stuff/bin/servconfig
delete mode 100644 src/initramfs/stage3-stuff/etc/functions
delete mode 100644 src/initramfs/stage3-stuff/etc/ldap-functions
delete mode 100644 src/initramfs/stage3-stuff/etc/messages
delete mode 100644 src/initramfs/stage3-stuff/etc/messages.de
delete mode 100755 src/initramfs/stage3-stuff/init
delete mode 120000 src/initramfs/uclib-rootfs
(limited to 'src')
diff --git a/src/boot-env/OpenSLX/BootEnvironment/Preboot.pm b/src/boot-env/OpenSLX/BootEnvironment/Preboot.pm
index b06de7d2..370009ad 100644
--- a/src/boot-env/OpenSLX/BootEnvironment/Preboot.pm
+++ b/src/boot-env/OpenSLX/BootEnvironment/Preboot.pm
@@ -112,7 +112,7 @@ sub writeBootloaderMenuFor
End-of-Here
if (!$self->{'dry-run'}) {
- # default to iso encoding, let's see how uclibc copes with it ...
+ # default to iso encoding ...
spitFile($menuFile, $bootmenu, { 'io-layer' => 'encoding(iso8859-1)' });
# copy the preboot script into the folder to be tared
diff --git a/src/boot-env/OpenSLX/MakeInitRamFS/Engine/PBS.pm b/src/boot-env/OpenSLX/MakeInitRamFS/Engine/PBS.pm
index 571057ad..83d848d0 100644
--- a/src/boot-env/OpenSLX/MakeInitRamFS/Engine/PBS.pm
+++ b/src/boot-env/OpenSLX/MakeInitRamFS/Engine/PBS.pm
@@ -28,12 +28,12 @@ sub _copyPrebootSpecificFiles
# write secondary rootfs-layer (including init) on top of base layer
my $prebootRootfs
- = "$openslxConfig{'base-path'}/share/boot-env/preboot/uclib-rootfs";
+ = "$openslxConfig{'base-path'}/share/boot-env/preboot/rootfs";
$self->addCMD("rsync -rlpt $prebootRootfs/ $self->{'build-path'}");
# overwrite preboot defaults
my $pbsRootfs
- = "$openslxConfig{'base-path'}/share/boot-env/pbs/uclib-rootfs";
+ = "$openslxConfig{'base-path'}/share/boot-env/pbs/rootfs";
$self->addCMD("rsync -rlpt $pbsRootfs/ $self->{'build-path'}");
return 1;
diff --git a/src/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm b/src/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
index aecfd00f..1a68bfd0 100644
--- a/src/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
+++ b/src/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
@@ -36,7 +36,7 @@ sub _collectCMDs
$self->_writeInitramfsSetup();
$self->_writeSlxSystemConf();
- $self->_copyUclibcRootfs();
+ $self->_copyRootfs();
$self->_copyPrebootSpecificFiles();
$self->{distro}->applyChanges($self);
@@ -107,11 +107,11 @@ sub _writeInitramfsSetup
return;
}
-sub _copyUclibcRootfs
+sub _copyRootfs
{
my $self = shift;
- my $uclibcRootfs = "$openslxConfig{'base-path'}/share/uclib-rootfs";
+ my $rootfs = "$openslxConfig{'base-path'}/share/rootfs";
my @excludes = qw(
);
@@ -123,7 +123,7 @@ sub _copyUclibcRootfs
my $exclOpts = join ' ', map { "--exclude $_" } @excludes;
- $self->addCMD("rsync $exclOpts -rlpt $uclibcRootfs/ $self->{'build-path'}");
+ $self->addCMD("rsync $exclOpts -rlpt $rootfs/ $self->{'build-path'}");
return 1;
}
@@ -134,7 +134,7 @@ sub _copyPrebootSpecificFiles
# write secondary rootfs-layer (including init) on top of base layer
my $prebootRootfs
- = "$openslxConfig{'base-path'}/share/boot-env/preboot/uclib-rootfs";
+ = "$openslxConfig{'base-path'}/share/boot-env/preboot/rootfs";
$self->addCMD("rsync -rlpt $prebootRootfs/ $self->{'build-path'}");
return 1;
diff --git a/src/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm b/src/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
index 1334c444..82f46103 100644
--- a/src/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
+++ b/src/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
@@ -40,7 +40,7 @@ sub _collectCMDs
$self->_writeInitramfsSetup();
$self->_writeSlxSystemConf();
- $self->_copyUclibcRootfs();
+ $self->_copyRootfs();
$self->_copyHwinfo();
$self->_copyDistroSpecificFiles();
$self->_copyInitramfsFiles();
@@ -115,11 +115,11 @@ sub _copyDistroSpecificFiles
return 1;
}
-sub _copyUclibcRootfs
+sub _copyRootfs
{
my $self = shift;
- my $uclibcRootfs = "$openslxConfig{'base-path'}/share/uclib-rootfs";
+ my $rootfs = "$openslxConfig{'base-path'}/share/rootfs";
my @excludes = qw(
dialog
@@ -136,7 +136,7 @@ sub _copyUclibcRootfs
my $exclOpts = join ' ', map { "--exclude $_" } @excludes;
- $self->addCMD("rsync $exclOpts -rlpt $uclibcRootfs/ $self->{'build-path'}");
+ $self->addCMD("rsync $exclOpts -rlpt $rootfs/ $self->{'build-path'}");
return 1;
}
diff --git a/src/boot-env/pbs/rootfs/bin/bbinit b/src/boot-env/pbs/rootfs/bin/bbinit
new file mode 100755
index 00000000..3fd67612
--- /dev/null
+++ b/src/boot-env/pbs/rootfs/bin/bbinit
@@ -0,0 +1,19 @@
+#!/bin/hush
+
+# create clean setup
+mkdir -p /etc/events.conf
+mkdir -p /etc/events.d
+rm /etc/events.d/*
+for f in $(ls -1 /etc/events)
+do
+ ln -sf /etc/events/$f /etc/events.d/$f
+done
+
+mkdir -p /tmp/event
+rm /tmp/event/*
+rm /tmp/events
+
+# start bbinit
+inotifyd /bin/handleEvents /tmp/event/:n &
+# initial call (executing all zero dependent scipts)
+handleEvents
diff --git a/src/boot-env/pbs/rootfs/bin/handleEvents b/src/boot-env/pbs/rootfs/bin/handleEvents
new file mode 100755
index 00000000..9bb78951
--- /dev/null
+++ b/src/boot-env/pbs/rootfs/bin/handleEvents
@@ -0,0 +1,38 @@
+#!/bin/hush
+
+# wait for lock
+while [ -f /tmp/bbinit.lock ]
+do
+ sleep 0.1
+done
+
+# lock eventhandler
+touch /tmp/bbinit.lock
+
+# source list of finished events
+[ -f /tmp/events ] && . /tmp/events
+
+# go through all unhandled events
+for f in $( ls -1 /etc/events.d/ )
+do
+ . /etc/events.d/$f
+
+ # check dependencies
+ eval dep=\$${f}_depends
+ havealldeps=1
+ for d in $dep
+ do
+ eval havedep=\$have${d}
+ [ "x$havedep" == "x1" ] || havealldeps=0
+ done
+
+ # if nothing is missing execute script
+ if [ "x$havealldeps" == "x1" ]; then
+ echo executing $f
+ /etc/bbinit.d/$f &
+ rm /etc/events.d/$f
+ fi
+done
+
+# unlock eventhandler
+rm /tmp/bbinit.lock
diff --git a/src/boot-env/pbs/rootfs/etc/bbinit.d/example b/src/boot-env/pbs/rootfs/etc/bbinit.d/example
new file mode 100755
index 00000000..122cf566
--- /dev/null
+++ b/src/boot-env/pbs/rootfs/etc/bbinit.d/example
@@ -0,0 +1,32 @@
+#!/bin/hush
+
+me=$(basename $0)
+
+# read event parameters
+. /etc/events/$me
+eval provides=\$${me}_provides
+
+# get config output of the dependencies
+eval dep=\$${me}_depends
+for d in $dep
+do
+ [ -f /etc/event.conf/$d ] && . /etc/event.conf/$d
+done
+
+# do some stuff
+echo "[$me] starting .."
+for i in 1 2 3 4 5 6
+do
+ echo "[$me] $i"
+ sleep 1
+done
+echo "[$me] finished .."
+
+# write configuration output
+value="test"
+echo "${provides}_someconfig=\"$value\"" >> /etc/event.conf/$provides
+
+# trigger eventhandler
+echo "have${provides}=1" >> /tmp/events
+touch /tmp/event/$me
+
diff --git a/src/boot-env/pbs/rootfs/etc/events/example b/src/boot-env/pbs/rootfs/etc/events/example
new file mode 100644
index 00000000..75768967
--- /dev/null
+++ b/src/boot-env/pbs/rootfs/etc/events/example
@@ -0,0 +1,2 @@
+example_depends=""
+example_provides="example"
diff --git a/src/boot-env/pbs/rootfs/init b/src/boot-env/pbs/rootfs/init
new file mode 100755
index 00000000..847cad87
--- /dev/null
+++ b/src/boot-env/pbs/rootfs/init
@@ -0,0 +1,234 @@
+#!/bin/ash
+# Copyright (c) 2008..2009 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# Main script for preboot initial ramfs - preloading environment for running
+# OpenSLX linux stateless clients version 5.
+
+fetchip () {
+# we expect to get an ip address within 10++ seconds
+( sleep 6 ; killall udhcpc >/dev/null 2>&1 ) &
+for i in 1 2 ; do
+ udhcpc -f -n -q $vci -s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
+ if grep "ip=" /tmp/ipstuff >/dev/null 2>&1 ; then
+ . /tmp/ipstuff
+ for ns in $dns ; do
+ echo "nameserver $ns" >>/etc/resolv.conf
+ done
+ # simply add a single dns server for passing via kernel cmdline to stage3
+ # (quickhack, just the last, list of dns might be better ...)
+ echo "dnssrv=$ns" >>/tmp/ipstuff
+ return
+ else
+ if [ $i -eq 1 ] ; then
+ sleep 1
+ else
+ dialog --msgbox "Did not get any proper IP configuration: Please check \
+that your Ethernet card is supported, the machine is connected to the network \
+and a DHCP server is answering your requests." 7 65
+ ash
+ echo "o" >/proc/sysrq-trigger
+ fi
+ fi
+done
+}
+
+#############################################################################
+# PreBoot init main part
+
+# device files get their own filesystem
+devdir="/dev"
+mount -n -t tmpfs -o 'size=25%,mode=0755' mdev ${devdir}
+mkdir -p /dev/pts
+mount -t devpts devpts /dev/pts
+echo /sbin/mdev > /proc/sys/kernel/hotplug
+cat > /etc/mdev.conf << "EOF"
+sda* 0:6 0660
+sdb* 0:6 0660
+sg* 0:6 0660
+hda* 0:6 0660
+hdb* 0:6 0660
+EOF
+
+mdev -s
+
+export DEBUGLEVEL=0
+
+# create basic device files an directories in dev
+for i in "/dev/mem c 1 1" "/dev/null c 1 3" "/dev/zero c 1 5" \
+ "/dev/urandom c 1 9" "/dev/kmsg c 1 11" "/dev/tty0 c 4 0" \
+ "/dev/tty1 c 4 1" "/dev/tty2 c 4 2" "/dev/tty3 c 4 3" \
+ "/dev/tty4 c 4 4" "/dev/tty5 c 4 5" "/dev/tty6 c 4 6" \
+ "/dev/tty7 c 4 7" "/dev/tty8 c 4 8" "/dev/tty9 c 4 9" \
+ "/dev/tty10 c 4 10" "/dev/tty c 5 0" "/dev/console c 5 1" \
+ "/dev/ptmx c 5 2" "/dev/psaux c 10 1" "/dev/agpgart c 10 175" \
+ "/dev/fb0 c 29 0" "/dev/bootsplash p" "/dev/xconsole p"; do
+ mknod $i
+done
+mkdir -p ${devdir}/pts ${devdir}/shm
+export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
+
+# redirect kernel messages to tty10 instead of tty1
+getty -i -n -l /bin/cat 38400 tty10 &
+setlogcons 10
+
+# initramfs-setup configuration (common settings for all clients using a
+# certain InitRamFS generated by slxmkramfs/mkdxsinitrd)
+[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
+
+# set a default LAN interface, has to be modified for WLAN or on machines
+# with more than one ethernet card built in
+nwif="eth0"
+
+# mount the important standard directories
+[ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc
+[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
+
+# load framebuffer modules if needed
+for mod in vesafb fbcon; do
+ if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
+ modprobe $mod || \
+ dialog --infobox "Module $mod did not load for some reason." 3 65
+ usleep 1000
+ fi
+done
+
+# give startup information
+dialog --infobox "Starting OpenSLX preboot environment ..." 3 65
+
+# load usb keyboard and network adaptor modules
+for mod in ${ramfs_nicmods} af_packet unix hid hid-bright usbhid \
+ uhci-hcd ohci-hcd ; do
+ if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
+ modprobe $mod || \
+ dialog --infobox "Module $mod did not load for some reason." 3 65
+ usleep 10000
+ fi
+done
+
+# set the default for boot type and read kernel commandline (for this and
+# other options)
+export TYPE=fastboot
+read KCMDLINE /bin/watchdog
+#!/bin/ash
+echo \$$ > /tmp/watchdogpid
+[ ! -f /proc/version ] && mount -n -t proc proc /proc
+sleep 120 2>/dev/null
+echo "o" >/proc/sysrq-trigger
+EOF
+ chmod u+x /bin/watchdog
+ watchdog &
+else
+ getty -i -n -l /bin/ash 38400 tty2 &
+fi
+
+if [ -n "${SSID}" ] ; then
+ # WLAN setup will most probably change the network interface name stored in
+ # nwif (to wlan0 or something like that)
+ [ $DEBUGLEVEL -gt 0 ] && echo "set essid to ${essid}";
+ #value of essid unchecked yet
+ # load network adaptor modules
+ cd /lib/modules/$(ls /lib/modules/)/kernel/drivers/net/wireless
+ for mod in $(find . | grep .ko | sed 's,.*/\([^/]*\).ko,\1',); do
+ echo "Mod:";
+ echo $mod;
+ modprobe $mod || echo "module $mod did not load for some reason"
+ usleep 10000
+ done
+ cd /
+ wlanif=$(iwconfig 2>/dev/null|sed -n "/ESSID:/p"|sed "s/ .*//")
+ [ $DEBUGLEVEL -gt 0 ] && echo "wlancard recognized as ${wlanif}";
+ ip link set dev ${wlanif} up
+ if iwconfig ${wlanif} mode managed essid "${essid}"; then
+ nwif=${wlanif}
+ else
+ error " Unable to configure the WLAN interface."
+ fi
+ :
+else
+ # check here for the active Ethernet link
+ ip link show dev eth1 >/dev/null 2>&1 && \
+ dialog --msgbox "More than one network interface found. This could cause \
+some trouble as their activation and ordering depends on the module load \
+order ..." 7 65
+fi
+
+# set up loopback networking and power up ethernet
+ip link set dev lo up
+ip addr add 127.0.0.1/8 dev lo
+ip link set dev $nwif up || echo "I did not find any usable network adaptor."
+
+# run udhcpc and start a debug shell if no lease could be obtained
+mkdir -p /usr/share/udhcpc
+echo -e "#!/bin/ash\nunset infomsg HOME IFS mask lease interface DEBUGLEVEL \
+BOOT_IMAGE\nset >/tmp/ipstuff" >/usr/share/udhcpc/default.script
+chmod u+x /usr/share/udhcpc/default.script
+modprobe -q af_packet
+[ -n $vci ] && vci="-V $vci"
+fetchip
+ip addr add $ip/$(ipcalc -s -p $ip $subnet|sed s/.*=//) dev $nwif
+ip route add default via $router
+
+# get the mac address of the boot network adaptor
+macaddr=$(ip link show dev $nwif 2>/dev/null | \
+ sed -n "/ether [0-9e-f]\{2\}:.*/p" | sed -e "s/.*ether //;s/ .*//")
+echo "macaddr=$macaddr" >>/etc/initramfs-setup
+
+# at this point a little selection script could be downloaded, which lets the
+# user choose what kind of SLX client he wants to get
+dialog --infobox "Fetching preboot interactive part and configuration from \
+the net ($boot_uri) ..." 4 65
+mkdir -p /preboot
+wget -q -O /preboot/preboot.init ${boot_uri}bootloader/env/getinit/formedia/$PBS_ID
+chmod u+x /preboot/preboot.init
+
+echo "pbs_id=$PBS_ID" >> /etc/pbs.conf
+
+# start a debug shell if needed, else set quiet kernel parameter
+if [ "${DEBUGLEVEL}" -gt 0 ] ; then
+ echo "Starting shell, leaving it would continue init."
+ /bin/ash
+else
+ # no debugging output for stage3 run
+ echo "quiet=quiet" >>/etc/initramfs-setup
+fi
+# run the preboot interactive part which finally will execute kexec
+cd /preboot
+exec ./preboot.init
+# we should never return from that one ...
+dialog --msgbox "The execution of the main preboot component failed. Please \
+check network access of your box. Is $boot_uri reachable!?" 6 65
+# ping -c 1 $boot_uri
+sleep 20 && echo "o" >/proc/sysrq-trigger
+
diff --git a/src/boot-env/pbs/rootfs/preboot/preboot-scripts/dialog.functions b/src/boot-env/pbs/rootfs/preboot/preboot-scripts/dialog.functions
new file mode 100644
index 00000000..7c6dd784
--- /dev/null
+++ b/src/boot-env/pbs/rootfs/preboot/preboot-scripts/dialog.functions
@@ -0,0 +1,105 @@
+# Copyright (c) 2009 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your suggestions, praise, or complaints to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org/
+# -----------------------------------------------------------------------------
+# dialog.functions
+# provides shell scripts for dialog handling
+# -----------------------------------------------------------------------------
+
+# set -x
+
+if [ "x" == "x$DIALOG_HEIGHT" ]; then
+ DIALOG_HEIGHT="10"
+fi
+
+if [ "x" == "x$DIALOG_WIDTH" ]; then
+ DIALOG_WIDTH="40"
+fi
+
+_ddownload_checkpercentage () {
+ local lf=$1
+ percentage=$(tail -n 5 $lf | sed 's/\.//g' | awk '{print $2}'| sed -n "s/%//p"| tail -n 1)
+ return $percentage
+}
+
+ddownload () {
+ local dl_url=$1
+ local dl_titel=$2
+ local dl_outfile=$3
+ local dl_logfile=$4
+
+ local dl_server=$(dirname $dl_url)
+ local dl_file=$(basename $dl_url)
+
+ local dl_count
+
+ if [ "x" == "x$dl_logfile" ]; then
+ dl_logfile="/tmp/logfile.$$"
+ fi
+
+ if [ "x" == "x$dl_outfile" ]; then
+ dl_outfile="$dl_file"
+ fi
+
+ if [ "x" == "x$dl_title" ]; then
+ dl_title="Downloading $dl_file .."
+ fi
+
+ if [ -f "$dl_logfile" ]; then
+ rm $dl_logfile
+ fi
+
+ # start wget in background
+ wget -v -b $dl_url -o "$dl_logfile" -O $dl_outfile
+
+ sleep 0.1;
+ _ddownload_checkpercentage "$dl_logfile"
+
+ dl_count=$?
+
+ while [ $dl_count -le 99 ];
+ do
+ echo $dl_count |dialog --gauge "$dl_title" $DIALOG_HEIGHT $DIALOG_WIDTH
+ sleep 0.5
+ _ddownload_checkpercentage "$dl_logfile"
+ dl_count=$?
+ done
+
+ local finished=0
+ while [ ! $finished ]; do
+ finished=$(tail -n 4 $dl_logfile | grep -c "$dl_file");
+ done
+
+ echo 100 | dialog --gauge "$dl_title" $DIALOG_HEIGHT $DIALOG_WIDTH;
+
+}
+
+
+
+menu_firststart () {
+ while [ "x$(cat result)" = "x" ] ; do
+ dialog --menu "OpenSLX" 30 60 22 \
+ 01 "Kiosk" \
+ 02 "Kiosk Setup" \
+ 03 "Custom System" \
+ 2>result
+ done
+}
+
+menu_oldconfig () {
+ oldconf=$1;
+ while [ "x$(cat result)" = "x" ] ; do
+ dialog --menu "OpenSLX" 30 60 22 \
+ 01 "Kiosk" \
+ 02 "Kiosk Setup" \
+ 03 "Custom System" \
+ 04 "Custom System"
+ 2>result
+ done
+}
diff --git a/src/boot-env/pbs/uclib-rootfs/bin/bbinit b/src/boot-env/pbs/uclib-rootfs/bin/bbinit
deleted file mode 100755
index 3fd67612..00000000
--- a/src/boot-env/pbs/uclib-rootfs/bin/bbinit
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/hush
-
-# create clean setup
-mkdir -p /etc/events.conf
-mkdir -p /etc/events.d
-rm /etc/events.d/*
-for f in $(ls -1 /etc/events)
-do
- ln -sf /etc/events/$f /etc/events.d/$f
-done
-
-mkdir -p /tmp/event
-rm /tmp/event/*
-rm /tmp/events
-
-# start bbinit
-inotifyd /bin/handleEvents /tmp/event/:n &
-# initial call (executing all zero dependent scipts)
-handleEvents
diff --git a/src/boot-env/pbs/uclib-rootfs/bin/handleEvents b/src/boot-env/pbs/uclib-rootfs/bin/handleEvents
deleted file mode 100755
index 9bb78951..00000000
--- a/src/boot-env/pbs/uclib-rootfs/bin/handleEvents
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/hush
-
-# wait for lock
-while [ -f /tmp/bbinit.lock ]
-do
- sleep 0.1
-done
-
-# lock eventhandler
-touch /tmp/bbinit.lock
-
-# source list of finished events
-[ -f /tmp/events ] && . /tmp/events
-
-# go through all unhandled events
-for f in $( ls -1 /etc/events.d/ )
-do
- . /etc/events.d/$f
-
- # check dependencies
- eval dep=\$${f}_depends
- havealldeps=1
- for d in $dep
- do
- eval havedep=\$have${d}
- [ "x$havedep" == "x1" ] || havealldeps=0
- done
-
- # if nothing is missing execute script
- if [ "x$havealldeps" == "x1" ]; then
- echo executing $f
- /etc/bbinit.d/$f &
- rm /etc/events.d/$f
- fi
-done
-
-# unlock eventhandler
-rm /tmp/bbinit.lock
diff --git a/src/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example b/src/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example
deleted file mode 100755
index 122cf566..00000000
--- a/src/boot-env/pbs/uclib-rootfs/etc/bbinit.d/example
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/hush
-
-me=$(basename $0)
-
-# read event parameters
-. /etc/events/$me
-eval provides=\$${me}_provides
-
-# get config output of the dependencies
-eval dep=\$${me}_depends
-for d in $dep
-do
- [ -f /etc/event.conf/$d ] && . /etc/event.conf/$d
-done
-
-# do some stuff
-echo "[$me] starting .."
-for i in 1 2 3 4 5 6
-do
- echo "[$me] $i"
- sleep 1
-done
-echo "[$me] finished .."
-
-# write configuration output
-value="test"
-echo "${provides}_someconfig=\"$value\"" >> /etc/event.conf/$provides
-
-# trigger eventhandler
-echo "have${provides}=1" >> /tmp/events
-touch /tmp/event/$me
-
diff --git a/src/boot-env/pbs/uclib-rootfs/etc/events/example b/src/boot-env/pbs/uclib-rootfs/etc/events/example
deleted file mode 100644
index 75768967..00000000
--- a/src/boot-env/pbs/uclib-rootfs/etc/events/example
+++ /dev/null
@@ -1,2 +0,0 @@
-example_depends=""
-example_provides="example"
diff --git a/src/boot-env/pbs/uclib-rootfs/init b/src/boot-env/pbs/uclib-rootfs/init
deleted file mode 100755
index 847cad87..00000000
--- a/src/boot-env/pbs/uclib-rootfs/init
+++ /dev/null
@@ -1,234 +0,0 @@
-#!/bin/ash
-# Copyright (c) 2008..2009 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Main script for preboot initial ramfs - preloading environment for running
-# OpenSLX linux stateless clients version 5.
-
-fetchip () {
-# we expect to get an ip address within 10++ seconds
-( sleep 6 ; killall udhcpc >/dev/null 2>&1 ) &
-for i in 1 2 ; do
- udhcpc -f -n -q $vci -s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
- if grep "ip=" /tmp/ipstuff >/dev/null 2>&1 ; then
- . /tmp/ipstuff
- for ns in $dns ; do
- echo "nameserver $ns" >>/etc/resolv.conf
- done
- # simply add a single dns server for passing via kernel cmdline to stage3
- # (quickhack, just the last, list of dns might be better ...)
- echo "dnssrv=$ns" >>/tmp/ipstuff
- return
- else
- if [ $i -eq 1 ] ; then
- sleep 1
- else
- dialog --msgbox "Did not get any proper IP configuration: Please check \
-that your Ethernet card is supported, the machine is connected to the network \
-and a DHCP server is answering your requests." 7 65
- ash
- echo "o" >/proc/sysrq-trigger
- fi
- fi
-done
-}
-
-#############################################################################
-# PreBoot init main part
-
-# device files get their own filesystem
-devdir="/dev"
-mount -n -t tmpfs -o 'size=25%,mode=0755' mdev ${devdir}
-mkdir -p /dev/pts
-mount -t devpts devpts /dev/pts
-echo /sbin/mdev > /proc/sys/kernel/hotplug
-cat > /etc/mdev.conf << "EOF"
-sda* 0:6 0660
-sdb* 0:6 0660
-sg* 0:6 0660
-hda* 0:6 0660
-hdb* 0:6 0660
-EOF
-
-mdev -s
-
-export DEBUGLEVEL=0
-
-# create basic device files an directories in dev
-for i in "/dev/mem c 1 1" "/dev/null c 1 3" "/dev/zero c 1 5" \
- "/dev/urandom c 1 9" "/dev/kmsg c 1 11" "/dev/tty0 c 4 0" \
- "/dev/tty1 c 4 1" "/dev/tty2 c 4 2" "/dev/tty3 c 4 3" \
- "/dev/tty4 c 4 4" "/dev/tty5 c 4 5" "/dev/tty6 c 4 6" \
- "/dev/tty7 c 4 7" "/dev/tty8 c 4 8" "/dev/tty9 c 4 9" \
- "/dev/tty10 c 4 10" "/dev/tty c 5 0" "/dev/console c 5 1" \
- "/dev/ptmx c 5 2" "/dev/psaux c 10 1" "/dev/agpgart c 10 175" \
- "/dev/fb0 c 29 0" "/dev/bootsplash p" "/dev/xconsole p"; do
- mknod $i
-done
-mkdir -p ${devdir}/pts ${devdir}/shm
-export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
-
-# redirect kernel messages to tty10 instead of tty1
-getty -i -n -l /bin/cat 38400 tty10 &
-setlogcons 10
-
-# initramfs-setup configuration (common settings for all clients using a
-# certain InitRamFS generated by slxmkramfs/mkdxsinitrd)
-[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
-
-# set a default LAN interface, has to be modified for WLAN or on machines
-# with more than one ethernet card built in
-nwif="eth0"
-
-# mount the important standard directories
-[ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc
-[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
-
-# load framebuffer modules if needed
-for mod in vesafb fbcon; do
- if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
- modprobe $mod || \
- dialog --infobox "Module $mod did not load for some reason." 3 65
- usleep 1000
- fi
-done
-
-# give startup information
-dialog --infobox "Starting OpenSLX preboot environment ..." 3 65
-
-# load usb keyboard and network adaptor modules
-for mod in ${ramfs_nicmods} af_packet unix hid hid-bright usbhid \
- uhci-hcd ohci-hcd ; do
- if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
- modprobe $mod || \
- dialog --infobox "Module $mod did not load for some reason." 3 65
- usleep 10000
- fi
-done
-
-# set the default for boot type and read kernel commandline (for this and
-# other options)
-export TYPE=fastboot
-read KCMDLINE /bin/watchdog
-#!/bin/ash
-echo \$$ > /tmp/watchdogpid
-[ ! -f /proc/version ] && mount -n -t proc proc /proc
-sleep 120 2>/dev/null
-echo "o" >/proc/sysrq-trigger
-EOF
- chmod u+x /bin/watchdog
- watchdog &
-else
- getty -i -n -l /bin/ash 38400 tty2 &
-fi
-
-if [ -n "${SSID}" ] ; then
- # WLAN setup will most probably change the network interface name stored in
- # nwif (to wlan0 or something like that)
- [ $DEBUGLEVEL -gt 0 ] && echo "set essid to ${essid}";
- #value of essid unchecked yet
- # load network adaptor modules
- cd /lib/modules/$(ls /lib/modules/)/kernel/drivers/net/wireless
- for mod in $(find . | grep .ko | sed 's,.*/\([^/]*\).ko,\1',); do
- echo "Mod:";
- echo $mod;
- modprobe $mod || echo "module $mod did not load for some reason"
- usleep 10000
- done
- cd /
- wlanif=$(iwconfig 2>/dev/null|sed -n "/ESSID:/p"|sed "s/ .*//")
- [ $DEBUGLEVEL -gt 0 ] && echo "wlancard recognized as ${wlanif}";
- ip link set dev ${wlanif} up
- if iwconfig ${wlanif} mode managed essid "${essid}"; then
- nwif=${wlanif}
- else
- error " Unable to configure the WLAN interface."
- fi
- :
-else
- # check here for the active Ethernet link
- ip link show dev eth1 >/dev/null 2>&1 && \
- dialog --msgbox "More than one network interface found. This could cause \
-some trouble as their activation and ordering depends on the module load \
-order ..." 7 65
-fi
-
-# set up loopback networking and power up ethernet
-ip link set dev lo up
-ip addr add 127.0.0.1/8 dev lo
-ip link set dev $nwif up || echo "I did not find any usable network adaptor."
-
-# run udhcpc and start a debug shell if no lease could be obtained
-mkdir -p /usr/share/udhcpc
-echo -e "#!/bin/ash\nunset infomsg HOME IFS mask lease interface DEBUGLEVEL \
-BOOT_IMAGE\nset >/tmp/ipstuff" >/usr/share/udhcpc/default.script
-chmod u+x /usr/share/udhcpc/default.script
-modprobe -q af_packet
-[ -n $vci ] && vci="-V $vci"
-fetchip
-ip addr add $ip/$(ipcalc -s -p $ip $subnet|sed s/.*=//) dev $nwif
-ip route add default via $router
-
-# get the mac address of the boot network adaptor
-macaddr=$(ip link show dev $nwif 2>/dev/null | \
- sed -n "/ether [0-9e-f]\{2\}:.*/p" | sed -e "s/.*ether //;s/ .*//")
-echo "macaddr=$macaddr" >>/etc/initramfs-setup
-
-# at this point a little selection script could be downloaded, which lets the
-# user choose what kind of SLX client he wants to get
-dialog --infobox "Fetching preboot interactive part and configuration from \
-the net ($boot_uri) ..." 4 65
-mkdir -p /preboot
-wget -q -O /preboot/preboot.init ${boot_uri}bootloader/env/getinit/formedia/$PBS_ID
-chmod u+x /preboot/preboot.init
-
-echo "pbs_id=$PBS_ID" >> /etc/pbs.conf
-
-# start a debug shell if needed, else set quiet kernel parameter
-if [ "${DEBUGLEVEL}" -gt 0 ] ; then
- echo "Starting shell, leaving it would continue init."
- /bin/ash
-else
- # no debugging output for stage3 run
- echo "quiet=quiet" >>/etc/initramfs-setup
-fi
-# run the preboot interactive part which finally will execute kexec
-cd /preboot
-exec ./preboot.init
-# we should never return from that one ...
-dialog --msgbox "The execution of the main preboot component failed. Please \
-check network access of your box. Is $boot_uri reachable!?" 6 65
-# ping -c 1 $boot_uri
-sleep 20 && echo "o" >/proc/sysrq-trigger
-
diff --git a/src/boot-env/pbs/uclib-rootfs/preboot/preboot-scripts/dialog.functions b/src/boot-env/pbs/uclib-rootfs/preboot/preboot-scripts/dialog.functions
deleted file mode 100644
index 7c6dd784..00000000
--- a/src/boot-env/pbs/uclib-rootfs/preboot/preboot-scripts/dialog.functions
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright (c) 2009 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your suggestions, praise, or complaints to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org/
-# -----------------------------------------------------------------------------
-# dialog.functions
-# provides shell scripts for dialog handling
-# -----------------------------------------------------------------------------
-
-# set -x
-
-if [ "x" == "x$DIALOG_HEIGHT" ]; then
- DIALOG_HEIGHT="10"
-fi
-
-if [ "x" == "x$DIALOG_WIDTH" ]; then
- DIALOG_WIDTH="40"
-fi
-
-_ddownload_checkpercentage () {
- local lf=$1
- percentage=$(tail -n 5 $lf | sed 's/\.//g' | awk '{print $2}'| sed -n "s/%//p"| tail -n 1)
- return $percentage
-}
-
-ddownload () {
- local dl_url=$1
- local dl_titel=$2
- local dl_outfile=$3
- local dl_logfile=$4
-
- local dl_server=$(dirname $dl_url)
- local dl_file=$(basename $dl_url)
-
- local dl_count
-
- if [ "x" == "x$dl_logfile" ]; then
- dl_logfile="/tmp/logfile.$$"
- fi
-
- if [ "x" == "x$dl_outfile" ]; then
- dl_outfile="$dl_file"
- fi
-
- if [ "x" == "x$dl_title" ]; then
- dl_title="Downloading $dl_file .."
- fi
-
- if [ -f "$dl_logfile" ]; then
- rm $dl_logfile
- fi
-
- # start wget in background
- wget -v -b $dl_url -o "$dl_logfile" -O $dl_outfile
-
- sleep 0.1;
- _ddownload_checkpercentage "$dl_logfile"
-
- dl_count=$?
-
- while [ $dl_count -le 99 ];
- do
- echo $dl_count |dialog --gauge "$dl_title" $DIALOG_HEIGHT $DIALOG_WIDTH
- sleep 0.5
- _ddownload_checkpercentage "$dl_logfile"
- dl_count=$?
- done
-
- local finished=0
- while [ ! $finished ]; do
- finished=$(tail -n 4 $dl_logfile | grep -c "$dl_file");
- done
-
- echo 100 | dialog --gauge "$dl_title" $DIALOG_HEIGHT $DIALOG_WIDTH;
-
-}
-
-
-
-menu_firststart () {
- while [ "x$(cat result)" = "x" ] ; do
- dialog --menu "OpenSLX" 30 60 22 \
- 01 "Kiosk" \
- 02 "Kiosk Setup" \
- 03 "Custom System" \
- 2>result
- done
-}
-
-menu_oldconfig () {
- oldconf=$1;
- while [ "x$(cat result)" = "x" ] ; do
- dialog --menu "OpenSLX" 30 60 22 \
- 01 "Kiosk" \
- 02 "Kiosk Setup" \
- 03 "Custom System" \
- 04 "Custom System"
- 2>result
- done
-}
diff --git a/src/boot-env/preboot/rootfs/init b/src/boot-env/preboot/rootfs/init
new file mode 100755
index 00000000..ab2f9ca0
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/init
@@ -0,0 +1,216 @@
+#!/bin/ash
+# Copyright (c) 2008..2009 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# Main script for preboot initial ramfs - preloading environment for running
+# OpenSLX linux stateless clients version 5.
+
+fetchip () {
+# we expect to get an ip address within 10++ seconds
+( sleep 10 ; killall udhcpc >/dev/null 2>&1 ) &
+for i in 1 2 ; do
+ udhcpc -f -n -q $vci -s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
+ if grep "ip=" /tmp/ipstuff >/dev/null 2>&1 ; then
+ . /tmp/ipstuff
+ for ns in $dns ; do
+ echo "nameserver $ns" >>/etc/resolv.conf
+ done
+ # simply add a single dns server for passing via kernel cmdline to stage3
+ # (quickhack, just the last, list of dns might be better ...)
+ echo "dnssrv=$ns" >>/tmp/ipstuff
+ return
+ else
+ if [ $i -eq 1 ] ; then
+ sleep 1
+ else
+ dialog --msgbox "Did not get any proper IP configuration: Please check \
+that your Ethernet card is supported, the machine is connected to the network \
+and a DHCP server is answering your requests." 7 65
+ ash
+ echo "o" >/proc/sysrq-trigger
+ fi
+ fi
+done
+}
+
+#############################################################################
+# PreBoot init main part
+
+# device files get their own filesystem
+devdir="/dev"
+mount -n -t tmpfs -o 'size=25%,mode=0755' initramfsdevs ${devdir}
+export DEBUGLEVEL=0
+
+# create basic device files an directories in dev
+for i in "/dev/mem c 1 1" "/dev/null c 1 3" "/dev/zero c 1 5" \
+ "/dev/urandom c 1 9" "/dev/kmsg c 1 11" "/dev/tty0 c 4 0" \
+ "/dev/tty1 c 4 1" "/dev/tty2 c 4 2" "/dev/tty3 c 4 3" \
+ "/dev/tty4 c 4 4" "/dev/tty5 c 4 5" "/dev/tty6 c 4 6" \
+ "/dev/tty7 c 4 7" "/dev/tty8 c 4 8" "/dev/tty9 c 4 9" \
+ "/dev/tty10 c 4 10" "/dev/tty c 5 0" "/dev/console c 5 1" \
+ "/dev/ptmx c 5 2" "/dev/psaux c 10 1" "/dev/agpgart c 10 175" \
+ "/dev/fb0 c 29 0" "/dev/bootsplash p" "/dev/xconsole p"; do
+ mknod $i
+done
+mkdir -p ${devdir}/pts ${devdir}/shm
+export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
+
+# redirect kernel messages to tty10 instead of tty1
+getty -i -n -l /bin/cat 38400 tty10 &
+setlogcons 10
+
+# initramfs-setup configuration (common settings for all clients using a
+# certain InitRamFS generated by slxmkramfs/mkdxsinitrd)
+[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
+
+# set a default LAN interface, has to be modified for WLAN or on machines
+# with more than one ethernet card built in
+nwif="eth0"
+
+# mount the important standard directories
+[ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc
+[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
+
+# load framebuffer modules if needed
+for mod in vesafb fbcon; do
+ if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
+ modprobe $mod || \
+ dialog --infobox "Module $mod did not load for some reason." 3 65
+ usleep 1000
+ fi
+done
+
+# give startup information
+dialog --infobox "Starting OpenSLX preboot environment ..." 3 65
+
+# load usb keyboard and network adaptor modules
+for mod in ${ramfs_nicmods} af_packet unix hid hid-bright usbhid \
+ uhci-hcd ohci-hcd ; do
+ if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
+ modprobe $mod || \
+ dialog --infobox "Module $mod did not load for some reason." 3 65
+ usleep 10000
+ fi
+done
+
+# set the default for boot type and read kernel commandline (for this and
+# other options)
+export TYPE=fastboot
+read KCMDLINE /bin/watchdog
+#!/bin/ash
+echo \$$ > /tmp/watchdogpid
+[ ! -f /proc/version ] && mount -n -t proc proc /proc
+sleep 120 2>/dev/null
+echo "o" >/proc/sysrq-trigger
+EOF
+ chmod u+x /bin/watchdog
+ watchdog &
+else
+ getty -i -n -l /bin/ash 38400 tty2 &
+fi
+
+if [ -n "${SSID}" ] ; then
+ # WLAN setup will most probably change the network interface name stored in
+ # nwif (to wlan0 or something like that)
+ [ $DEBUGLEVEL -gt 0 ] && echo "set essid to ${essid}";
+ #value of essid unchecked yet
+ # load network adaptor modules
+ cd /lib/modules/$(ls /lib/modules/)/kernel/drivers/net/wireless
+ for mod in $(find . | grep .ko | sed 's,.*/\([^/]*\).ko,\1',); do
+ echo "Mod:";
+ echo $mod;
+ modprobe $mod || echo "module $mod did not load for some reason"
+ usleep 10000
+ done
+ cd /
+ wlanif=$(iwconfig 2>/dev/null|sed -n "/ESSID:/p"|sed "s/ .*//")
+ [ $DEBUGLEVEL -gt 0 ] && echo "wlancard recognized as ${wlanif}";
+ ip link set dev ${wlanif} up
+ if iwconfig ${wlanif} mode managed essid "${essid}"; then
+ nwif=${wlanif}
+ else
+ error " Unable to configure the WLAN interface."
+ fi
+ :
+else
+ # check here for the active Ethernet link
+ ip link show dev eth1 >/dev/null 2>&1 && \
+ dialog --msgbox "More than one network interface found. This could cause \
+some trouble as their activation and ordering depends on the module load \
+order ..." 7 65
+fi
+
+# set up loopback networking and power up ethernet
+ip link set dev lo up
+ip addr add 127.0.0.1/8 dev lo
+ip link set dev $nwif up || echo "I did not find any usable network adaptor."
+
+# run udhcpc and start a debug shell if no lease could be obtained
+mkdir -p /usr/share/udhcpc
+echo -e "#!/bin/ash\nunset infomsg HOME IFS mask lease interface DEBUGLEVEL \
+BOOT_IMAGE\nset >/tmp/ipstuff" >/usr/share/udhcpc/default.script
+chmod u+x /usr/share/udhcpc/default.script
+modprobe -q af_packet
+[ -n $vci ] && vci="-V $vci"
+fetchip
+ip addr add $ip/$(ipcalc -s -p $ip $subnet|sed s/.*=//) dev $nwif
+ip route add default via $router
+
+# get the mac address of the boot network adaptor
+macaddr=$(ip link show dev $nwif 2>/dev/null | \
+ sed -n "/ether [0-9e-f]\{2\}:.*/p" | sed -e "s/.*ether //;s/ .*//")
+echo "macaddr=$macaddr" >>/etc/initramfs-setup
+
+# at this point a little selection script could be downloaded, which lets the
+# user choose what kind of SLX client he wants to get
+dialog --infobox "Fetching preboot interactive part and configuration from \
+the net ($boot_uri) ..." 4 65
+wget -q -O /tmp/preboot.env $boot_uri/bootloader/${preboot_id}.env
+mkdir /preboot
+tar -xzf /tmp/preboot.env -C /preboot
+# start a debug shell if needed, else set quiet kernel parameter
+if [ "${DEBUGLEVEL}" -gt 0 ] ; then
+ echo "Starting shell, leaving it would continue init."
+ /bin/ash
+else
+ # no debugging output for stage3 run
+ echo "quiet=quiet" >>/etc/initramfs-setup
+fi
+# run the preboot interactive part which finally will execute kexec
+cd /preboot
+exec ./preboot.sh
+# we should never return from that one ...
+dialog --msgbox "The execution of the main preboot component failed. Please \
+check network access of your box. Is $boot_uri reachable!?" 6 65
+# ping -c 1 $boot_uri
+sleep 20 && echo "o" >/proc/sysrq-trigger
+
diff --git a/src/boot-env/preboot/rootfs/lib/libcurses.so b/src/boot-env/preboot/rootfs/lib/libcurses.so
new file mode 120000
index 00000000..c7b1e02a
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/lib/libcurses.so
@@ -0,0 +1 @@
+libncurses.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/lib/libncurses.so b/src/boot-env/preboot/rootfs/lib/libncurses.so
new file mode 120000
index 00000000..7257b6af
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/lib/libncurses.so
@@ -0,0 +1 @@
+libncurses.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/lib/libncurses.so.5 b/src/boot-env/preboot/rootfs/lib/libncurses.so.5
new file mode 120000
index 00000000..c7b1e02a
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/lib/libncurses.so.5
@@ -0,0 +1 @@
+libncurses.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/lib/libncurses.so.5.6 b/src/boot-env/preboot/rootfs/lib/libncurses.so.5.6
new file mode 100755
index 00000000..a395c6b7
Binary files /dev/null and b/src/boot-env/preboot/rootfs/lib/libncurses.so.5.6 differ
diff --git a/src/boot-env/preboot/rootfs/usr/bin/clear b/src/boot-env/preboot/rootfs/usr/bin/clear
new file mode 100755
index 00000000..acc13246
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/bin/clear differ
diff --git a/src/boot-env/preboot/rootfs/usr/bin/dialog b/src/boot-env/preboot/rootfs/usr/bin/dialog
new file mode 100755
index 00000000..6929569f
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/bin/dialog differ
diff --git a/src/boot-env/preboot/rootfs/usr/bin/w3m b/src/boot-env/preboot/rootfs/usr/bin/w3m
new file mode 100755
index 00000000..2766a681
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/bin/w3m differ
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libcrypto.so b/src/boot-env/preboot/rootfs/usr/lib/libcrypto.so
new file mode 120000
index 00000000..cda623f3
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libcrypto.so
@@ -0,0 +1 @@
+libcrypto.so.0.9.8
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libcrypto.so.0.9.8 b/src/boot-env/preboot/rootfs/usr/lib/libcrypto.so.0.9.8
new file mode 100755
index 00000000..bb1b8163
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/lib/libcrypto.so.0.9.8 differ
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libcurses.so b/src/boot-env/preboot/rootfs/usr/lib/libcurses.so
new file mode 100755
index 00000000..32ad8efe
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libcurses.so
@@ -0,0 +1,11 @@
+/* GNU ld script
+ Since Gentoo has critical dynamic libraries in /lib, and the static versions
+ in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
+ run into linking problems. This "fake" dynamic lib is a linker script that
+ redirects the linker to the real lib. And yes, this works in the cross-
+ compiling scenario as the sysroot-ed linker will prepend the real path.
+
+ See bug http://bugs.gentoo.org/4411 for more info.
+ */
+OUTPUT_FORMAT ( elf32-i386 )
+GROUP ( /lib/libcurses.so )
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libform.so b/src/boot-env/preboot/rootfs/usr/lib/libform.so
new file mode 120000
index 00000000..10e91696
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libform.so
@@ -0,0 +1 @@
+libform.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libform.so.5 b/src/boot-env/preboot/rootfs/usr/lib/libform.so.5
new file mode 120000
index 00000000..4a80f6b6
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libform.so.5
@@ -0,0 +1 @@
+libform.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libform.so.5.6 b/src/boot-env/preboot/rootfs/usr/lib/libform.so.5.6
new file mode 100755
index 00000000..888adb22
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/lib/libform.so.5.6 differ
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libmenu.so b/src/boot-env/preboot/rootfs/usr/lib/libmenu.so
new file mode 120000
index 00000000..b12b5cfb
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libmenu.so
@@ -0,0 +1 @@
+libmenu.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5 b/src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5
new file mode 120000
index 00000000..869f4a57
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5
@@ -0,0 +1 @@
+libmenu.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5.6 b/src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5.6
new file mode 100755
index 00000000..fb190a90
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/lib/libmenu.so.5.6 differ
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libncurses.so b/src/boot-env/preboot/rootfs/usr/lib/libncurses.so
new file mode 100755
index 00000000..e7122a85
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libncurses.so
@@ -0,0 +1,11 @@
+/* GNU ld script
+ Since Gentoo has critical dynamic libraries in /lib, and the static versions
+ in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
+ run into linking problems. This "fake" dynamic lib is a linker script that
+ redirects the linker to the real lib. And yes, this works in the cross-
+ compiling scenario as the sysroot-ed linker will prepend the real path.
+
+ See bug http://bugs.gentoo.org/4411 for more info.
+ */
+OUTPUT_FORMAT ( elf32-i386 )
+GROUP ( /lib/libncurses.so )
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libpanel.so b/src/boot-env/preboot/rootfs/usr/lib/libpanel.so
new file mode 120000
index 00000000..b5cd4a70
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libpanel.so
@@ -0,0 +1 @@
+libpanel.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5 b/src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5
new file mode 120000
index 00000000..ff2e80a5
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5
@@ -0,0 +1 @@
+libpanel.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5.6 b/src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5.6
new file mode 100755
index 00000000..4acbc076
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/lib/libpanel.so.5.6 differ
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libssl.so b/src/boot-env/preboot/rootfs/usr/lib/libssl.so
new file mode 120000
index 00000000..7874414f
--- /dev/null
+++ b/src/boot-env/preboot/rootfs/usr/lib/libssl.so
@@ -0,0 +1 @@
+libssl.so.0.9.8
\ No newline at end of file
diff --git a/src/boot-env/preboot/rootfs/usr/lib/libssl.so.0.9.8 b/src/boot-env/preboot/rootfs/usr/lib/libssl.so.0.9.8
new file mode 100755
index 00000000..194078c5
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/lib/libssl.so.0.9.8 differ
diff --git a/src/boot-env/preboot/rootfs/usr/sbin/kdump b/src/boot-env/preboot/rootfs/usr/sbin/kdump
new file mode 100755
index 00000000..07226a4b
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/sbin/kdump differ
diff --git a/src/boot-env/preboot/rootfs/usr/sbin/kexec b/src/boot-env/preboot/rootfs/usr/sbin/kexec
new file mode 100755
index 00000000..cc49c45c
Binary files /dev/null and b/src/boot-env/preboot/rootfs/usr/sbin/kexec differ
diff --git a/src/boot-env/preboot/uclib-rootfs/init b/src/boot-env/preboot/uclib-rootfs/init
deleted file mode 100755
index ab2f9ca0..00000000
--- a/src/boot-env/preboot/uclib-rootfs/init
+++ /dev/null
@@ -1,216 +0,0 @@
-#!/bin/ash
-# Copyright (c) 2008..2009 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Main script for preboot initial ramfs - preloading environment for running
-# OpenSLX linux stateless clients version 5.
-
-fetchip () {
-# we expect to get an ip address within 10++ seconds
-( sleep 10 ; killall udhcpc >/dev/null 2>&1 ) &
-for i in 1 2 ; do
- udhcpc -f -n -q $vci -s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
- if grep "ip=" /tmp/ipstuff >/dev/null 2>&1 ; then
- . /tmp/ipstuff
- for ns in $dns ; do
- echo "nameserver $ns" >>/etc/resolv.conf
- done
- # simply add a single dns server for passing via kernel cmdline to stage3
- # (quickhack, just the last, list of dns might be better ...)
- echo "dnssrv=$ns" >>/tmp/ipstuff
- return
- else
- if [ $i -eq 1 ] ; then
- sleep 1
- else
- dialog --msgbox "Did not get any proper IP configuration: Please check \
-that your Ethernet card is supported, the machine is connected to the network \
-and a DHCP server is answering your requests." 7 65
- ash
- echo "o" >/proc/sysrq-trigger
- fi
- fi
-done
-}
-
-#############################################################################
-# PreBoot init main part
-
-# device files get their own filesystem
-devdir="/dev"
-mount -n -t tmpfs -o 'size=25%,mode=0755' initramfsdevs ${devdir}
-export DEBUGLEVEL=0
-
-# create basic device files an directories in dev
-for i in "/dev/mem c 1 1" "/dev/null c 1 3" "/dev/zero c 1 5" \
- "/dev/urandom c 1 9" "/dev/kmsg c 1 11" "/dev/tty0 c 4 0" \
- "/dev/tty1 c 4 1" "/dev/tty2 c 4 2" "/dev/tty3 c 4 3" \
- "/dev/tty4 c 4 4" "/dev/tty5 c 4 5" "/dev/tty6 c 4 6" \
- "/dev/tty7 c 4 7" "/dev/tty8 c 4 8" "/dev/tty9 c 4 9" \
- "/dev/tty10 c 4 10" "/dev/tty c 5 0" "/dev/console c 5 1" \
- "/dev/ptmx c 5 2" "/dev/psaux c 10 1" "/dev/agpgart c 10 175" \
- "/dev/fb0 c 29 0" "/dev/bootsplash p" "/dev/xconsole p"; do
- mknod $i
-done
-mkdir -p ${devdir}/pts ${devdir}/shm
-export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
-
-# redirect kernel messages to tty10 instead of tty1
-getty -i -n -l /bin/cat 38400 tty10 &
-setlogcons 10
-
-# initramfs-setup configuration (common settings for all clients using a
-# certain InitRamFS generated by slxmkramfs/mkdxsinitrd)
-[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
-
-# set a default LAN interface, has to be modified for WLAN or on machines
-# with more than one ethernet card built in
-nwif="eth0"
-
-# mount the important standard directories
-[ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc
-[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
-
-# load framebuffer modules if needed
-for mod in vesafb fbcon; do
- if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
- modprobe $mod || \
- dialog --infobox "Module $mod did not load for some reason." 3 65
- usleep 1000
- fi
-done
-
-# give startup information
-dialog --infobox "Starting OpenSLX preboot environment ..." 3 65
-
-# load usb keyboard and network adaptor modules
-for mod in ${ramfs_nicmods} af_packet unix hid hid-bright usbhid \
- uhci-hcd ohci-hcd ; do
- if [ x != x$(find /lib/modules -name ${mod}.ko) ]; then
- modprobe $mod || \
- dialog --infobox "Module $mod did not load for some reason." 3 65
- usleep 10000
- fi
-done
-
-# set the default for boot type and read kernel commandline (for this and
-# other options)
-export TYPE=fastboot
-read KCMDLINE /bin/watchdog
-#!/bin/ash
-echo \$$ > /tmp/watchdogpid
-[ ! -f /proc/version ] && mount -n -t proc proc /proc
-sleep 120 2>/dev/null
-echo "o" >/proc/sysrq-trigger
-EOF
- chmod u+x /bin/watchdog
- watchdog &
-else
- getty -i -n -l /bin/ash 38400 tty2 &
-fi
-
-if [ -n "${SSID}" ] ; then
- # WLAN setup will most probably change the network interface name stored in
- # nwif (to wlan0 or something like that)
- [ $DEBUGLEVEL -gt 0 ] && echo "set essid to ${essid}";
- #value of essid unchecked yet
- # load network adaptor modules
- cd /lib/modules/$(ls /lib/modules/)/kernel/drivers/net/wireless
- for mod in $(find . | grep .ko | sed 's,.*/\([^/]*\).ko,\1',); do
- echo "Mod:";
- echo $mod;
- modprobe $mod || echo "module $mod did not load for some reason"
- usleep 10000
- done
- cd /
- wlanif=$(iwconfig 2>/dev/null|sed -n "/ESSID:/p"|sed "s/ .*//")
- [ $DEBUGLEVEL -gt 0 ] && echo "wlancard recognized as ${wlanif}";
- ip link set dev ${wlanif} up
- if iwconfig ${wlanif} mode managed essid "${essid}"; then
- nwif=${wlanif}
- else
- error " Unable to configure the WLAN interface."
- fi
- :
-else
- # check here for the active Ethernet link
- ip link show dev eth1 >/dev/null 2>&1 && \
- dialog --msgbox "More than one network interface found. This could cause \
-some trouble as their activation and ordering depends on the module load \
-order ..." 7 65
-fi
-
-# set up loopback networking and power up ethernet
-ip link set dev lo up
-ip addr add 127.0.0.1/8 dev lo
-ip link set dev $nwif up || echo "I did not find any usable network adaptor."
-
-# run udhcpc and start a debug shell if no lease could be obtained
-mkdir -p /usr/share/udhcpc
-echo -e "#!/bin/ash\nunset infomsg HOME IFS mask lease interface DEBUGLEVEL \
-BOOT_IMAGE\nset >/tmp/ipstuff" >/usr/share/udhcpc/default.script
-chmod u+x /usr/share/udhcpc/default.script
-modprobe -q af_packet
-[ -n $vci ] && vci="-V $vci"
-fetchip
-ip addr add $ip/$(ipcalc -s -p $ip $subnet|sed s/.*=//) dev $nwif
-ip route add default via $router
-
-# get the mac address of the boot network adaptor
-macaddr=$(ip link show dev $nwif 2>/dev/null | \
- sed -n "/ether [0-9e-f]\{2\}:.*/p" | sed -e "s/.*ether //;s/ .*//")
-echo "macaddr=$macaddr" >>/etc/initramfs-setup
-
-# at this point a little selection script could be downloaded, which lets the
-# user choose what kind of SLX client he wants to get
-dialog --infobox "Fetching preboot interactive part and configuration from \
-the net ($boot_uri) ..." 4 65
-wget -q -O /tmp/preboot.env $boot_uri/bootloader/${preboot_id}.env
-mkdir /preboot
-tar -xzf /tmp/preboot.env -C /preboot
-# start a debug shell if needed, else set quiet kernel parameter
-if [ "${DEBUGLEVEL}" -gt 0 ] ; then
- echo "Starting shell, leaving it would continue init."
- /bin/ash
-else
- # no debugging output for stage3 run
- echo "quiet=quiet" >>/etc/initramfs-setup
-fi
-# run the preboot interactive part which finally will execute kexec
-cd /preboot
-exec ./preboot.sh
-# we should never return from that one ...
-dialog --msgbox "The execution of the main preboot component failed. Please \
-check network access of your box. Is $boot_uri reachable!?" 6 65
-# ping -c 1 $boot_uri
-sleep 20 && echo "o" >/proc/sysrq-trigger
-
diff --git a/src/boot-env/preboot/uclib-rootfs/lib/libcurses.so b/src/boot-env/preboot/uclib-rootfs/lib/libcurses.so
deleted file mode 120000
index c7b1e02a..00000000
--- a/src/boot-env/preboot/uclib-rootfs/lib/libcurses.so
+++ /dev/null
@@ -1 +0,0 @@
-libncurses.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so b/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so
deleted file mode 120000
index 7257b6af..00000000
--- a/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so
+++ /dev/null
@@ -1 +0,0 @@
-libncurses.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5 b/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5
deleted file mode 120000
index c7b1e02a..00000000
--- a/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5
+++ /dev/null
@@ -1 +0,0 @@
-libncurses.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5.6 b/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5.6
deleted file mode 100755
index a395c6b7..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/lib/libncurses.so.5.6 and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/bin/clear b/src/boot-env/preboot/uclib-rootfs/usr/bin/clear
deleted file mode 100755
index acc13246..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/bin/clear and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/bin/dialog b/src/boot-env/preboot/uclib-rootfs/usr/bin/dialog
deleted file mode 100755
index 6929569f..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/bin/dialog and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/bin/w3m b/src/boot-env/preboot/uclib-rootfs/usr/bin/w3m
deleted file mode 100755
index 2766a681..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/bin/w3m and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so
deleted file mode 120000
index cda623f3..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so
+++ /dev/null
@@ -1 +0,0 @@
-libcrypto.so.0.9.8
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so.0.9.8 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so.0.9.8
deleted file mode 100755
index bb1b8163..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcrypto.so.0.9.8 and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so
deleted file mode 100755
index 32ad8efe..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so
+++ /dev/null
@@ -1,11 +0,0 @@
-/* GNU ld script
- Since Gentoo has critical dynamic libraries in /lib, and the static versions
- in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
- run into linking problems. This "fake" dynamic lib is a linker script that
- redirects the linker to the real lib. And yes, this works in the cross-
- compiling scenario as the sysroot-ed linker will prepend the real path.
-
- See bug http://bugs.gentoo.org/4411 for more info.
- */
-OUTPUT_FORMAT ( elf32-i386 )
-GROUP ( /lib/libcurses.so )
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so
deleted file mode 120000
index 10e91696..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so
+++ /dev/null
@@ -1 +0,0 @@
-libform.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5
deleted file mode 120000
index 4a80f6b6..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5
+++ /dev/null
@@ -1 +0,0 @@
-libform.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5.6 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5.6
deleted file mode 100755
index 888adb22..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/lib/libform.so.5.6 and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so
deleted file mode 120000
index b12b5cfb..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so
+++ /dev/null
@@ -1 +0,0 @@
-libmenu.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5
deleted file mode 120000
index 869f4a57..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5
+++ /dev/null
@@ -1 +0,0 @@
-libmenu.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5.6 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5.6
deleted file mode 100755
index fb190a90..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/lib/libmenu.so.5.6 and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libncurses.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libncurses.so
deleted file mode 100755
index e7122a85..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libncurses.so
+++ /dev/null
@@ -1,11 +0,0 @@
-/* GNU ld script
- Since Gentoo has critical dynamic libraries in /lib, and the static versions
- in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
- run into linking problems. This "fake" dynamic lib is a linker script that
- redirects the linker to the real lib. And yes, this works in the cross-
- compiling scenario as the sysroot-ed linker will prepend the real path.
-
- See bug http://bugs.gentoo.org/4411 for more info.
- */
-OUTPUT_FORMAT ( elf32-i386 )
-GROUP ( /lib/libncurses.so )
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so
deleted file mode 120000
index b5cd4a70..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so
+++ /dev/null
@@ -1 +0,0 @@
-libpanel.so.5
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5
deleted file mode 120000
index ff2e80a5..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5
+++ /dev/null
@@ -1 +0,0 @@
-libpanel.so.5.6
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5.6 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5.6
deleted file mode 100755
index 4acbc076..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/lib/libpanel.so.5.6 and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so
deleted file mode 120000
index 7874414f..00000000
--- a/src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so
+++ /dev/null
@@ -1 +0,0 @@
-libssl.so.0.9.8
\ No newline at end of file
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so.0.9.8 b/src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so.0.9.8
deleted file mode 100755
index 194078c5..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/lib/libssl.so.0.9.8 and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/sbin/kdump b/src/boot-env/preboot/uclib-rootfs/usr/sbin/kdump
deleted file mode 100755
index 07226a4b..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/sbin/kdump and /dev/null differ
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/sbin/kexec b/src/boot-env/preboot/uclib-rootfs/usr/sbin/kexec
deleted file mode 100755
index cc49c45c..00000000
Binary files a/src/boot-env/preboot/uclib-rootfs/usr/sbin/kexec and /dev/null differ
diff --git a/src/config-db/slxconfig-demuxer b/src/config-db/slxconfig-demuxer
index b88efeb6..dadd814b 100755
--- a/src/config-db/slxconfig-demuxer
+++ b/src/config-db/slxconfig-demuxer
@@ -657,17 +657,17 @@ sub writeSystemConfiguration
)
);
- # check if uclibc-rootfs in corresponding vendor-OS matches the current
+ # check if rootfs in corresponding vendor-OS matches the current
# version and add a warning if it does not:
- my $uclibcVersionPath
- = "$openslxConfig{'private-path'}/stage1/$info->{'vendor-os'}->{name}/opt/openslx/uclib-rootfs.version";
- chomp(my $uclibcVersion
- = slurpFile($uclibcVersionPath, { failIfMissing => 0 } ));
+ my $rootfsVersionPath
+ = "$openslxConfig{'private-path'}/stage1/$info->{'vendor-os'}->{name}/opt/openslx/rootfs.version";
+ chomp(my $rootfsVersion
+ = slurpFile($rootfsVersionPath, { failIfMissing => 0 } ));
chomp(my $currVersion = qx{slxversion});
- if ($currVersion !~ m{M$} && $uclibcVersion ne $currVersion) {
+ if ($currVersion !~ m{M$} && $rootfsVersion ne $currVersion) {
warn _tr(
- "uclibc-rootfs for system '%s' may not be up-to-date - consider updating the vendor-OS!",
- $info->{name}, $uclibcVersion, $currVersion
+ "eglibc rootfs for system '%s' may not be up-to-date - consider updating the vendor-OS!",
+ $info->{name}, $rootfsVersion, $currVersion
);
}
diff --git a/src/initramfs/eglibc-packages/compcache/usr/bin/rzscontrol b/src/initramfs/eglibc-packages/compcache/usr/bin/rzscontrol
deleted file mode 100755
index 0d7f2702..00000000
Binary files a/src/initramfs/eglibc-packages/compcache/usr/bin/rzscontrol and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/hwinfo/lib/libdbus-1.so.3 b/src/initramfs/eglibc-packages/hwinfo/lib/libdbus-1.so.3
deleted file mode 100644
index 526f06dc..00000000
Binary files a/src/initramfs/eglibc-packages/hwinfo/lib/libdbus-1.so.3 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/hwinfo/lib/librt.so.1 b/src/initramfs/eglibc-packages/hwinfo/lib/librt.so.1
deleted file mode 100644
index fbea0db1..00000000
Binary files a/src/initramfs/eglibc-packages/hwinfo/lib/librt.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/hwinfo/usr/lib/libhal.so.1 b/src/initramfs/eglibc-packages/hwinfo/usr/lib/libhal.so.1
deleted file mode 100644
index 8db463f0..00000000
Binary files a/src/initramfs/eglibc-packages/hwinfo/usr/lib/libhal.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/hwinfo/usr/lib/libhd.so.16 b/src/initramfs/eglibc-packages/hwinfo/usr/lib/libhd.so.16
deleted file mode 100644
index 3fd68f29..00000000
Binary files a/src/initramfs/eglibc-packages/hwinfo/usr/lib/libhd.so.16 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/hwinfo/usr/sbin/hwinfo b/src/initramfs/eglibc-packages/hwinfo/usr/sbin/hwinfo
deleted file mode 100755
index 5dbe48a4..00000000
Binary files a/src/initramfs/eglibc-packages/hwinfo/usr/sbin/hwinfo and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/mksquashfs/lib/libm.so.6 b/src/initramfs/eglibc-packages/mksquashfs/lib/libm.so.6
deleted file mode 100644
index 0e557bfe..00000000
Binary files a/src/initramfs/eglibc-packages/mksquashfs/lib/libm.so.6 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/mksquashfs/lib/libpthread.so.0 b/src/initramfs/eglibc-packages/mksquashfs/lib/libpthread.so.0
deleted file mode 100755
index 55de7d33..00000000
Binary files a/src/initramfs/eglibc-packages/mksquashfs/lib/libpthread.so.0 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_3_3 b/src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_3_3
deleted file mode 100755
index 0f4efdc8..00000000
Binary files a/src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_3_3 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_4 b/src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_4
deleted file mode 100755
index b40e6e42..00000000
Binary files a/src/initramfs/eglibc-packages/mksquashfs/usr/bin/mksquashfs_4 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/nbd-client/sbin/nbd-client b/src/initramfs/eglibc-packages/nbd-client/sbin/nbd-client
deleted file mode 100755
index 634e6ff3..00000000
Binary files a/src/initramfs/eglibc-packages/nbd-client/sbin/nbd-client and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/bin/plymouth b/src/initramfs/eglibc-packages/plymouth/bin/plymouth
deleted file mode 100755
index a8a5a638..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/bin/plymouth and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/lib/libply-splash-core.so.2 b/src/initramfs/eglibc-packages/plymouth/lib/libply-splash-core.so.2
deleted file mode 100644
index 875479cb..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/lib/libply-splash-core.so.2 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/lib/libply.so.2 b/src/initramfs/eglibc-packages/plymouth/lib/libply.so.2
deleted file mode 100644
index 14532e2b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/lib/libply.so.2 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/lib/librt.so.1 b/src/initramfs/eglibc-packages/plymouth/lib/librt.so.1
deleted file mode 100644
index fbea0db1..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/lib/librt.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/sbin/plymouthd b/src/initramfs/eglibc-packages/plymouth/sbin/plymouthd
deleted file mode 100755
index c1876a3e..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/sbin/plymouthd and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/details/details.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/details/details.plymouth
deleted file mode 100644
index bd849642..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/details/details.plymouth
+++ /dev/null
@@ -1,4 +0,0 @@
-[Plymouth Theme]
-Name=Details
-Description=Verbose fallback theme
-ModuleName=details
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png
deleted file mode 100644
index dd527369..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png
deleted file mode 100644
index a9f4157b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth
deleted file mode 100644
index e90b94e9..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth
+++ /dev/null
@@ -1,7 +0,0 @@
-[Plymouth Theme]
-Name=Fade In
-Description=Simple theme that fades in and out with shimmering stars
-ModuleName=fade-throbber
-
-[fade-throbber]
-ImageDir=/usr/share/plymouth/themes/fade-in
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png
deleted file mode 100644
index 7ddd3751..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/star.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/star.png
deleted file mode 100644
index 8d175cac..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/fade-in/star.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/box.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/box.png
deleted file mode 100644
index 54876e68..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/box.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/bullet.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/bullet.png
deleted file mode 100644
index 87ddfe81..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/bullet.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/entry.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/entry.png
deleted file mode 100644
index 37217b63..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/entry.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth
deleted file mode 100644
index 38cbafba..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth
+++ /dev/null
@@ -1,11 +0,0 @@
-[Plymouth Theme]
-Name=Bizcom Glow
-Description=Corporate theme with pie chart boot progress followed by a glowing emerging logo
-ModuleName=two-step
-
-[two-step]
-ImageDir=/usr/share/plymouth/themes/glow
-HorizontalAlignment=.25
-VerticalAlignment=.5
-Transition=merge-fade
-TransitionDuration=.5
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/lock.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/lock.png
deleted file mode 100644
index a0f8c12f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/lock.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png
deleted file mode 100644
index 9f94fc01..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png
deleted file mode 100644
index b00035d5..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png
deleted file mode 100644
index 872da19d..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png
deleted file mode 100644
index 24f32ff5..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png
deleted file mode 100644
index da1ecbd4..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png
deleted file mode 100644
index 38721afe..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png
deleted file mode 100644
index 3efdca73..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png
deleted file mode 100644
index 53277ed0..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png
deleted file mode 100644
index db0b570a..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png
deleted file mode 100644
index 14c20559..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png
deleted file mode 100644
index c522bc5c..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png
deleted file mode 100644
index 30171ec2..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png
deleted file mode 100644
index b920cb17..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png
deleted file mode 100644
index c697003c..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png
deleted file mode 100644
index 02b7d07d..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png
deleted file mode 100644
index 533ceb0d..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png
deleted file mode 100644
index 7039f4fd..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png
deleted file mode 100644
index 210c9173..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png
deleted file mode 100644
index f36be2c8..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png
deleted file mode 100644
index b44475b8..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png
deleted file mode 100644
index 45d275b7..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png
deleted file mode 100644
index 641ba2f9..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png
deleted file mode 100644
index 9805103b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png
deleted file mode 100644
index d8a41a54..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png
deleted file mode 100644
index ac25bdcf..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png
deleted file mode 100644
index 66cd03d9..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png
deleted file mode 100644
index e19fb685..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png
deleted file mode 100644
index d875c3a5..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png
deleted file mode 100644
index dd2a1a3c..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png
deleted file mode 100644
index 4d8b3494..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png
deleted file mode 100644
index 7ea1544c..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png
deleted file mode 100644
index 73e85d26..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png
deleted file mode 100644
index 914bc6dc..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png
deleted file mode 100644
index 6eed4b4f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png
deleted file mode 100644
index 3bc8747b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png
deleted file mode 100644
index d14f24cf..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png
deleted file mode 100644
index aa5554c1..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png
deleted file mode 100644
index 02a42c23..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png
deleted file mode 100644
index 08d30cff..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png
deleted file mode 100644
index 1b3c0b93..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png
deleted file mode 100644
index cf6b61dc..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png
deleted file mode 100644
index fa62c8c2..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png
deleted file mode 100644
index 70094674..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png
deleted file mode 100644
index f145d643..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png
deleted file mode 100644
index d7d0c433..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png
deleted file mode 100644
index f161c67c..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png
deleted file mode 100644
index 334f78d7..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png
deleted file mode 100644
index 535f7ea7..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png
deleted file mode 100644
index 3291f07c..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png
deleted file mode 100644
index b8557916..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png
deleted file mode 100644
index e9148416..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png
deleted file mode 100644
index 3ae351a0..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png
deleted file mode 100644
index 2a27b62d..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/box.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/box.png
deleted file mode 100644
index 54876e68..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/box.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/bullet.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/bullet.png
deleted file mode 100644
index dd527369..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/bullet.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/entry.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/entry.png
deleted file mode 100644
index a9f4157b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/entry.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/lock.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/lock.png
deleted file mode 100644
index a0f8c12f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/lock.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png
deleted file mode 100644
index dd1e747a..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_box.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_box.png
deleted file mode 100644
index c485cfbc..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/progress_box.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.plymouth
deleted file mode 100644
index 1ee47bda..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.plymouth
+++ /dev/null
@@ -1,11 +0,0 @@
-[Plymouth Theme]
-Name=Script
-Description=Script example plugin.
-ModuleName=script
-
-[script]
-ImageDir=/usr/share/plymouth/themes/script
-ScriptFile=/usr/share/plymouth/themes/script/script.script
-
-[script-env-vars]
-example_env_var=example env var value
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.script b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.script
deleted file mode 100644
index ed54a010..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/script/script.script
+++ /dev/null
@@ -1,164 +0,0 @@
-# This is an example plymouth plugin script
-
-Window.SetBackgroundTopColor(0.234, 0.43, 0.705);
-Window.SetBackgroundBottomColor(0.16, 0.25, 0.44);
-
-logo.image = Image("special://logo");
-logo.sprite = Sprite(logo.image);
-logo.opacity_angle = 0;
-
-fun refresh_callback ()
- {
- if (status == "normal")
- {
- logo.opacity_angle += ((2 * 3.14) / 50) * 0.5; # 0.5 HZ
- min_opacity = 0.3;
- opacity = (Math.Cos(logo.opacity_angle) + 1) / 2;
- opacity *= 1 - min_opacity;
- opacity += min_opacity;
- logo.sprite.SetX (Window.GetX() + Window.GetWidth() / 2 - logo.image.GetWidth() / 2);
- logo.sprite.SetY (Window.GetY() + Window.GetHeight() / 2 - logo.image.GetHeight() / 2);
- logo.sprite.SetOpacity (opacity);
- }
- else
- {
- logo.sprite.SetX (0);
- logo.sprite.SetY (0);
- logo.sprite.SetOpacity (1);
- }
- }
-
-Plymouth.SetRefreshFunction (refresh_callback);
-
-#----------------------------------------- Dialogue --------------------------------
-
-status = "normal";
-
-fun dialog_setup()
- {
- local.box;
- local.lock;
- local.entry;
-
- box.image = Image("box.png");
- lock.image = Image("lock.png");
- entry.image = Image("entry.png");
-
- box.sprite = Sprite(box.image);
- box.x = Window.GetX() + Window.GetWidth() / 2 - box.image.GetWidth ()/2;
- box.y = Window.GetY() + Window.GetHeight() / 2 - box.image.GetHeight()/2;
- box.z = 10000;
- box.sprite.SetPosition(box.x, box.y, box.z);
-
- lock.sprite = Sprite(lock.image);
- lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
- lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2;
- lock.z = box.z + 1;
- lock.sprite.SetPosition(lock.x, lock.y, lock.z);
-
- entry.sprite = Sprite(entry.image);
- entry.x = lock.x + lock.image.GetWidth();
- entry.y = box.y + box.image.GetHeight()/2 - entry.image.GetHeight()/2;
- entry.z = box.z + 1;
- entry.sprite.SetPosition(entry.x, entry.y, entry.z);
-
- global.dialog.box = box;
- global.dialog.lock = lock;
- global.dialog.entry = entry;
- global.dialog.bullet_image = Image("bullet.png");
- dialog_opacity (1);
- }
-
-fun dialog_opacity(opacity)
- {
- dialog.box.sprite.SetOpacity (opacity);
- dialog.lock.sprite.SetOpacity (opacity);
- dialog.entry.sprite.SetOpacity (opacity);
- for (index = 0; dialog.bullet[index]; index++)
- {
- dialog.bullet[index].sprite.SetOpacity(opacity);
- }
- }
-
-fun display_normal_callback ()
- {
- global.status = "normal";
- if (global.dialog)
- dialog_opacity (0);
- }
-
-fun display_password_callback (prompt, bullets)
- {
- global.status = "password";
- if (!global.dialog)
- dialog_setup();
- else
- dialog_opacity(1);
- for (index = 0; dialog.bullet[index] || index < bullets; index++)
- {
- if (!dialog.bullet[index])
- {
- dialog.bullet[index].sprite = Sprite(dialog.bullet_image);
- dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth();
- dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2;
- dialog.bullet[index].z = dialog.entry.z + 1;
- dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z);
- }
- if (index < bullets)
- dialog.bullet[index].sprite.SetOpacity(1);
- else
- dialog.bullet[index].sprite.SetOpacity(0);
- }
- }
-
-Plymouth.SetDisplayNormalFunction(display_normal_callback);
-Plymouth.SetDisplayPasswordFunction(display_password_callback);
-
-#----------------------------------------- Progress Bar --------------------------------
-
-progress_box.image = Image("progress_box.png");
-progress_box.sprite = Sprite(progress_box.image);
-
-progress_box.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2;
-progress_box.y = Window.GetY() + Window.GetHeight() * 0.75 - progress_box.image.GetHeight() / 2;
-progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0);
-
-progress_bar.original_image = Image("progress_bar.png");
-progress_bar.sprite = Sprite();
-
-progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2;
-progress_bar.y = Window.GetY() + Window.GetHeight() / 2 * 1.5 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2;
-progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1);
-
-fun progress_callback (duration, progress)
- {
- if (progress_bar.image.GetWidth () != Math.Int (progress_bar.original_image.GetWidth () * progress))
- {
- progress_bar.image = progress_bar.original_image.Scale(progress_bar.original_image.GetWidth(progress_bar.original_image) * progress, progress_bar.original_image.GetHeight());
- progress_bar.sprite.SetImage (progress_bar.image);
- }
- }
-
-Plymouth.SetBootProgressFunction(progress_callback);
-
-#----------------------------------------- Quit --------------------------------
-
-fun quit_callback ()
-{
- logo.sprite.SetOpacity (1);
-}
-
-Plymouth.SetQuitFunction(quit_callback);
-
-#----------------------------------------- Message --------------------------------
-
-message_sprite = Sprite();
-message_sprite.SetPosition(10, 10, 10000);
-
-fun message_callback (text)
-{
- my_image = Image.Text(text, 1, 1, 1);
- message_sprite.SetImage(my_image);
-}
-
-Plymouth.SetMessageFunction(message_callback);
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/box.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/box.png
deleted file mode 100644
index 54876e68..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/box.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/bullet.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/bullet.png
deleted file mode 100644
index dd527369..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/bullet.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/entry.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/entry.png
deleted file mode 100644
index a9f4157b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/entry.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/lock.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/lock.png
deleted file mode 100644
index a0f8c12f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/lock.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png
deleted file mode 100644
index b520bc3a..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth
deleted file mode 100644
index 13d25f8d..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth
+++ /dev/null
@@ -1,7 +0,0 @@
-[Plymouth Theme]
-Name=Solar
-Description=Space theme with violent flaring blue star
-ModuleName=space-flares
-
-[space-flares]
-ImageDir=/usr/share/plymouth/themes/solar
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/star.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/star.png
deleted file mode 100644
index f4467ed5..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/solar/star.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png
deleted file mode 100644
index 54876e68..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png
deleted file mode 100644
index dd527369..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png
deleted file mode 100644
index a9f4157b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png
deleted file mode 100644
index a0f8c12f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth
deleted file mode 100644
index f2baf3f8..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth
+++ /dev/null
@@ -1,7 +0,0 @@
-[Plymouth Theme]
-Name=Spinfinity
-Description=Simple theme that shows a rotating infinity sign in the center of the screen
-ModuleName=throbgress
-
-[throbgress]
-ImageDir=/usr/share/plymouth/themes/spinfinity
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png
deleted file mode 100644
index 5ca64413..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png
deleted file mode 100644
index dac708be..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png
deleted file mode 100644
index 68aa2d21..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png
deleted file mode 100644
index ec63a382..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png
deleted file mode 100644
index 876bf373..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png
deleted file mode 100644
index fa909b97..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png
deleted file mode 100644
index 3d446354..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png
deleted file mode 100644
index b932c68b..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png
deleted file mode 100644
index 920c8dbd..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png
deleted file mode 100644
index b4526956..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png
deleted file mode 100644
index 99377a90..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png
deleted file mode 100644
index 3bd36a9e..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png
deleted file mode 100644
index da6ce584..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png
deleted file mode 100644
index 58cd02f9..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png
deleted file mode 100644
index b43aef1a..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png
deleted file mode 100644
index 8eb06d8f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png
deleted file mode 100644
index 0689f510..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png
deleted file mode 100644
index db78d6b6..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png
deleted file mode 100644
index 29967543..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png
deleted file mode 100644
index 66b17fe0..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png
deleted file mode 100644
index 1af7efcf..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png
deleted file mode 100644
index 661c0a32..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png
deleted file mode 100644
index fbd0379e..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png
deleted file mode 100644
index 4fda936d..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png
deleted file mode 100644
index 8be2bc0a..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png
deleted file mode 100644
index 2009b4bd..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png
deleted file mode 100644
index 531a39d0..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png
deleted file mode 100644
index 51a9b688..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png
deleted file mode 100644
index 1f598586..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png
deleted file mode 100644
index 10143567..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png
deleted file mode 100644
index 652bdef4..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png
deleted file mode 100644
index 6792bc8f..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png
deleted file mode 100644
index 232c05bf..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png
deleted file mode 100644
index b9836fef..00000000
Binary files a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png and /dev/null differ
diff --git a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/text/text.plymouth b/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/text/text.plymouth
deleted file mode 100644
index a2db9e68..00000000
--- a/src/initramfs/eglibc-packages/plymouth/usr/share/plymouth/themes/text/text.plymouth
+++ /dev/null
@@ -1,4 +0,0 @@
-[Plymouth Theme]
-Name=Text
-Description=Text mode theme with tricolor progress bar
-ModuleName=text
diff --git a/src/initramfs/eglibc-packages/strace/usr/bin/strace b/src/initramfs/eglibc-packages/strace/usr/bin/strace
deleted file mode 100755
index efe78e71..00000000
Binary files a/src/initramfs/eglibc-packages/strace/usr/bin/strace and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/bin/ash b/src/initramfs/eglibc-rootfs/bin/ash
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ash
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/bash b/src/initramfs/eglibc-rootfs/bin/bash
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/bash
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/busybox b/src/initramfs/eglibc-rootfs/bin/busybox
deleted file mode 100755
index d790a243..00000000
Binary files a/src/initramfs/eglibc-rootfs/bin/busybox and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/bin/cat b/src/initramfs/eglibc-rootfs/bin/cat
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/cat
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/chgrp b/src/initramfs/eglibc-rootfs/bin/chgrp
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/chgrp
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/chmod b/src/initramfs/eglibc-rootfs/bin/chmod
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/chmod
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/chown b/src/initramfs/eglibc-rootfs/bin/chown
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/chown
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/cp b/src/initramfs/eglibc-rootfs/bin/cp
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/cp
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/cpio b/src/initramfs/eglibc-rootfs/bin/cpio
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/cpio
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/cttyhack b/src/initramfs/eglibc-rootfs/bin/cttyhack
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/cttyhack
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/date b/src/initramfs/eglibc-rootfs/bin/date
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/date
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/dd b/src/initramfs/eglibc-rootfs/bin/dd
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/dd
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/df b/src/initramfs/eglibc-rootfs/bin/df
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/df
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/dmesg b/src/initramfs/eglibc-rootfs/bin/dmesg
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/dmesg
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/dnsdomainname b/src/initramfs/eglibc-rootfs/bin/dnsdomainname
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/dnsdomainname
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/dumpkmap b/src/initramfs/eglibc-rootfs/bin/dumpkmap
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/dumpkmap
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/echo b/src/initramfs/eglibc-rootfs/bin/echo
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/echo
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/egrep b/src/initramfs/eglibc-rootfs/bin/egrep
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/egrep
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/false b/src/initramfs/eglibc-rootfs/bin/false
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/false
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/grep b/src/initramfs/eglibc-rootfs/bin/grep
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/grep
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/gunzip b/src/initramfs/eglibc-rootfs/bin/gunzip
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/gunzip
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/gzip b/src/initramfs/eglibc-rootfs/bin/gzip
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/gzip
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/hostname b/src/initramfs/eglibc-rootfs/bin/hostname
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/hostname
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/ip b/src/initramfs/eglibc-rootfs/bin/ip
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ip
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/ipcalc b/src/initramfs/eglibc-rootfs/bin/ipcalc
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ipcalc
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/kill b/src/initramfs/eglibc-rootfs/bin/kill
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/kill
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/ln b/src/initramfs/eglibc-rootfs/bin/ln
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ln
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/ls b/src/initramfs/eglibc-rootfs/bin/ls
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ls
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/mkdir b/src/initramfs/eglibc-rootfs/bin/mkdir
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/mkdir
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/mknod b/src/initramfs/eglibc-rootfs/bin/mknod
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/mknod
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/mount b/src/initramfs/eglibc-rootfs/bin/mount
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/mount
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/mv b/src/initramfs/eglibc-rootfs/bin/mv
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/mv
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/netstat b/src/initramfs/eglibc-rootfs/bin/netstat
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/netstat
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/nice b/src/initramfs/eglibc-rootfs/bin/nice
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/nice
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/pidof b/src/initramfs/eglibc-rootfs/bin/pidof
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/pidof
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/ping b/src/initramfs/eglibc-rootfs/bin/ping
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ping
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/ps b/src/initramfs/eglibc-rootfs/bin/ps
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/ps
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/pwd b/src/initramfs/eglibc-rootfs/bin/pwd
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/pwd
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/rev b/src/initramfs/eglibc-rootfs/bin/rev
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/rev
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/rm b/src/initramfs/eglibc-rootfs/bin/rm
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/rm
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/sed b/src/initramfs/eglibc-rootfs/bin/sed
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/sed
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/sh b/src/initramfs/eglibc-rootfs/bin/sh
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/sh
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/sleep b/src/initramfs/eglibc-rootfs/bin/sleep
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/sleep
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/sync b/src/initramfs/eglibc-rootfs/bin/sync
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/sync
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/tar b/src/initramfs/eglibc-rootfs/bin/tar
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/tar
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/touch b/src/initramfs/eglibc-rootfs/bin/touch
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/touch
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/true b/src/initramfs/eglibc-rootfs/bin/true
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/true
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/umount b/src/initramfs/eglibc-rootfs/bin/umount
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/umount
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/uname b/src/initramfs/eglibc-rootfs/bin/uname
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/uname
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/usleep b/src/initramfs/eglibc-rootfs/bin/usleep
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/usleep
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/vi b/src/initramfs/eglibc-rootfs/bin/vi
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/vi
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/bin/zcat b/src/initramfs/eglibc-rootfs/bin/zcat
deleted file mode 120000
index c3fa8102..00000000
--- a/src/initramfs/eglibc-rootfs/bin/zcat
+++ /dev/null
@@ -1 +0,0 @@
-busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/lib/ld-2.11.2.so b/src/initramfs/eglibc-rootfs/lib/ld-2.11.2.so
deleted file mode 100755
index fecb3a46..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/ld-2.11.2.so and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/ld-linux.so.2 b/src/initramfs/eglibc-rootfs/lib/ld-linux.so.2
deleted file mode 120000
index e1654955..00000000
--- a/src/initramfs/eglibc-rootfs/lib/ld-linux.so.2
+++ /dev/null
@@ -1 +0,0 @@
-ld-2.11.2.so
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/lib/libc.so.6 b/src/initramfs/eglibc-rootfs/lib/libc.so.6
deleted file mode 100755
index bfd7ef5d..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/libc.so.6 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/libdbus-1.so.3 b/src/initramfs/eglibc-rootfs/lib/libdbus-1.so.3
deleted file mode 100644
index 526f06dc..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/libdbus-1.so.3 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/libdl.so.2 b/src/initramfs/eglibc-rootfs/lib/libdl.so.2
deleted file mode 100644
index b7d6dacc..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/libdl.so.2 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/libm.so.6 b/src/initramfs/eglibc-rootfs/lib/libm.so.6
deleted file mode 100644
index 0e557bfe..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/libm.so.6 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/libnss_dns-2.11.2.so b/src/initramfs/eglibc-rootfs/lib/libnss_dns-2.11.2.so
deleted file mode 100644
index 5d17fe44..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/libnss_dns-2.11.2.so and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/libnss_dns.so.2 b/src/initramfs/eglibc-rootfs/lib/libnss_dns.so.2
deleted file mode 120000
index 870d4ad1..00000000
--- a/src/initramfs/eglibc-rootfs/lib/libnss_dns.so.2
+++ /dev/null
@@ -1 +0,0 @@
-libnss_dns-2.11.2.so
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/lib/libresolv-2.11.2.so b/src/initramfs/eglibc-rootfs/lib/libresolv-2.11.2.so
deleted file mode 100644
index bd199af4..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/libresolv-2.11.2.so and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/lib/libresolv.so.2 b/src/initramfs/eglibc-rootfs/lib/libresolv.so.2
deleted file mode 120000
index 0e93257d..00000000
--- a/src/initramfs/eglibc-rootfs/lib/libresolv.so.2
+++ /dev/null
@@ -1 +0,0 @@
-libresolv-2.11.2.so
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/lib/librt.so.1 b/src/initramfs/eglibc-rootfs/lib/librt.so.1
deleted file mode 100644
index fbea0db1..00000000
Binary files a/src/initramfs/eglibc-rootfs/lib/librt.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/linuxrc b/src/initramfs/eglibc-rootfs/linuxrc
deleted file mode 120000
index f9f73421..00000000
--- a/src/initramfs/eglibc-rootfs/linuxrc
+++ /dev/null
@@ -1 +0,0 @@
-bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/arp b/src/initramfs/eglibc-rootfs/sbin/arp
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/arp
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/bootchartd b/src/initramfs/eglibc-rootfs/sbin/bootchartd
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/bootchartd
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/fbsplash b/src/initramfs/eglibc-rootfs/sbin/fbsplash
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/fbsplash
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/fdisk b/src/initramfs/eglibc-rootfs/sbin/fdisk
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/fdisk
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/getty b/src/initramfs/eglibc-rootfs/sbin/getty
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/getty
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/halt b/src/initramfs/eglibc-rootfs/sbin/halt
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/halt
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/hdparm b/src/initramfs/eglibc-rootfs/sbin/hdparm
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/hdparm
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/hwclock b/src/initramfs/eglibc-rootfs/sbin/hwclock
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/hwclock
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/init b/src/initramfs/eglibc-rootfs/sbin/init
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/init
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/inotifyd b/src/initramfs/eglibc-rootfs/sbin/inotifyd
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/inotifyd
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/insmod b/src/initramfs/eglibc-rootfs/sbin/insmod
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/insmod
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/klogd b/src/initramfs/eglibc-rootfs/sbin/klogd
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/klogd
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/ldconfig b/src/initramfs/eglibc-rootfs/sbin/ldconfig
deleted file mode 100755
index 74da4189..00000000
Binary files a/src/initramfs/eglibc-rootfs/sbin/ldconfig and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/sbin/loadkmap b/src/initramfs/eglibc-rootfs/sbin/loadkmap
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/loadkmap
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/logread b/src/initramfs/eglibc-rootfs/sbin/logread
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/logread
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/lsmod b/src/initramfs/eglibc-rootfs/sbin/lsmod
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/lsmod
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/lspci b/src/initramfs/eglibc-rootfs/sbin/lspci
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/lspci
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/lsusb b/src/initramfs/eglibc-rootfs/sbin/lsusb
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/lsusb
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/mdev b/src/initramfs/eglibc-rootfs/sbin/mdev
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/mdev
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/mkdosfs b/src/initramfs/eglibc-rootfs/sbin/mkdosfs
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/mkdosfs
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/mkfs.vfat b/src/initramfs/eglibc-rootfs/sbin/mkfs.vfat
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/mkfs.vfat
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/mkswap b/src/initramfs/eglibc-rootfs/sbin/mkswap
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/mkswap
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/modinfo b/src/initramfs/eglibc-rootfs/sbin/modinfo
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/modinfo
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/modprobe b/src/initramfs/eglibc-rootfs/sbin/modprobe
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/modprobe
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/poweroff b/src/initramfs/eglibc-rootfs/sbin/poweroff
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/poweroff
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/reboot b/src/initramfs/eglibc-rootfs/sbin/reboot
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/reboot
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/rmmod b/src/initramfs/eglibc-rootfs/sbin/rmmod
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/rmmod
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/route b/src/initramfs/eglibc-rootfs/sbin/route
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/route
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/setconsole b/src/initramfs/eglibc-rootfs/sbin/setconsole
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/setconsole
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/start-stop-daemon b/src/initramfs/eglibc-rootfs/sbin/start-stop-daemon
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/start-stop-daemon
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/swapoff b/src/initramfs/eglibc-rootfs/sbin/swapoff
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/swapoff
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/swapon b/src/initramfs/eglibc-rootfs/sbin/swapon
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/swapon
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/switch_root b/src/initramfs/eglibc-rootfs/sbin/switch_root
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/switch_root
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/sysctl b/src/initramfs/eglibc-rootfs/sbin/sysctl
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/sysctl
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/syslogd b/src/initramfs/eglibc-rootfs/sbin/syslogd
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/syslogd
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/tunctl b/src/initramfs/eglibc-rootfs/sbin/tunctl
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/tunctl
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/udhcpc b/src/initramfs/eglibc-rootfs/sbin/udhcpc
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/udhcpc
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/vconfig b/src/initramfs/eglibc-rootfs/sbin/vconfig
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/vconfig
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/watchdog b/src/initramfs/eglibc-rootfs/sbin/watchdog
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/watchdog
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/sbin/zcip b/src/initramfs/eglibc-rootfs/sbin/zcip
deleted file mode 120000
index 71259713..00000000
--- a/src/initramfs/eglibc-rootfs/sbin/zcip
+++ /dev/null
@@ -1 +0,0 @@
-../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/[ b/src/initramfs/eglibc-rootfs/usr/bin/[
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/[
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/[[ b/src/initramfs/eglibc-rootfs/usr/bin/[[
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/[[
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/ar b/src/initramfs/eglibc-rootfs/usr/bin/ar
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/ar
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/arping b/src/initramfs/eglibc-rootfs/usr/bin/arping
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/arping
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/awk b/src/initramfs/eglibc-rootfs/usr/bin/awk
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/awk
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/basename b/src/initramfs/eglibc-rootfs/usr/bin/basename
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/basename
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/bunzip2 b/src/initramfs/eglibc-rootfs/usr/bin/bunzip2
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/bunzip2
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/bzcat b/src/initramfs/eglibc-rootfs/usr/bin/bzcat
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/bzcat
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/bzip2 b/src/initramfs/eglibc-rootfs/usr/bin/bzip2
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/bzip2
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/chvt b/src/initramfs/eglibc-rootfs/usr/bin/chvt
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/chvt
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/cut b/src/initramfs/eglibc-rootfs/usr/bin/cut
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/cut
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/deallocvt b/src/initramfs/eglibc-rootfs/usr/bin/deallocvt
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/deallocvt
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/du b/src/initramfs/eglibc-rootfs/usr/bin/du
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/du
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/dumpleases b/src/initramfs/eglibc-rootfs/usr/bin/dumpleases
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/dumpleases
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/eject b/src/initramfs/eglibc-rootfs/usr/bin/eject
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/eject
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/env b/src/initramfs/eglibc-rootfs/usr/bin/env
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/env
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/expr b/src/initramfs/eglibc-rootfs/usr/bin/expr
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/expr
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/fgconsole b/src/initramfs/eglibc-rootfs/usr/bin/fgconsole
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/fgconsole
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/find b/src/initramfs/eglibc-rootfs/usr/bin/find
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/find
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/flock b/src/initramfs/eglibc-rootfs/usr/bin/flock
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/flock
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/free b/src/initramfs/eglibc-rootfs/usr/bin/free
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/free
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/ftpget b/src/initramfs/eglibc-rootfs/usr/bin/ftpget
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/ftpget
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/ftpput b/src/initramfs/eglibc-rootfs/usr/bin/ftpput
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/ftpput
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/head b/src/initramfs/eglibc-rootfs/usr/bin/head
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/head
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/id b/src/initramfs/eglibc-rootfs/usr/bin/id
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/id
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/killall b/src/initramfs/eglibc-rootfs/usr/bin/killall
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/killall
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/ld b/src/initramfs/eglibc-rootfs/usr/bin/ld
deleted file mode 100755
index f169e2ec..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/bin/ld and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/ldd b/src/initramfs/eglibc-rootfs/usr/bin/ldd
deleted file mode 100755
index 4dba3cfb..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/ldd
+++ /dev/null
@@ -1,193 +0,0 @@
-#! /bin/bash
-# Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc.
-# This file is part of the GNU C Library.
-
-# The GNU C Library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# The GNU C Library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-# You should have received a copy of the GNU Lesser General Public
-# License along with the GNU C Library; if not, write to the Free
-# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
-
-
-# This is the `ldd' command, which lists what shared libraries are
-# used by given dynamically-linked executables. It works by invoking the
-# run-time dynamic linker as a command and setting the environment
-# variable LD_TRACE_LOADED_OBJECTS to a non-empty value.
-
-# We should be able to find the translation right at the beginning.
-TEXTDOMAIN=libc
-TEXTDOMAINDIR=/usr/share/locale
-
-RTLDLIST="/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2"
-warn=
-bind_now=
-verbose=
-
-while test $# -gt 0; do
- case "$1" in
- --vers | --versi | --versio | --version)
- echo 'ldd (Debian EGLIBC 2.11.2-2) 2.11.2'
- printf $"Copyright (C) %s Free Software Foundation, Inc.
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-" "2009"
- printf $"Written by %s and %s.
-" "Roland McGrath" "Ulrich Drepper"
- exit 0
- ;;
- --h | --he | --hel | --help)
- printf $"Usage: ldd [OPTION]... FILE...
- --help print this help and exit
- --version print version information and exit
- -d, --data-relocs process data relocations
- -r, --function-relocs process data and function relocations
- -u, --unused print unused direct dependencies
- -v, --verbose print all information
-"
- printf $"For bug reporting instructions, please see:
-%s.
-" ""
- exit 0
- ;;
- -d | --d | --da | --dat | --data | --data- | --data-r | --data-re | \
- --data-rel | --data-relo | --data-reloc | --data-relocs)
- warn=yes
- shift
- ;;
- -r | --f | --fu | --fun | --func | --funct | --functi | --functio | \
- --function | --function- | --function-r | --function-re | --function-rel | \
- --function-relo | --function-reloc | --function-relocs)
- warn=yes
- bind_now=yes
- shift
- ;;
- -v | --verb | --verbo | --verbos | --verbose)
- verbose=yes
- shift
- ;;
- -u | --u | --un | --unu | --unus | --unuse | --unused)
- unused=yes
- shift
- ;;
- --v | --ve | --ver)
- echo >&2 $"ldd: option \`$1' is ambiguous"
- exit 1
- ;;
- --) # Stop option processing.
- shift; break
- ;;
- -*)
- echo >&2 'ldd:' $"unrecognized option" "\`$1'"
- echo >&2 $"Try \`ldd --help' for more information."
- exit 1
- ;;
- *)
- break
- ;;
- esac
-done
-
-nonelf ()
-{
- # Maybe extra code for non-ELF binaries.
- return 1;
-}
-
-add_env="LD_TRACE_LOADED_OBJECTS=1 LD_WARN=$warn LD_BIND_NOW=$bind_now"
-add_env="$add_env LD_LIBRARY_VERSION=\$verify_out"
-add_env="$add_env LD_VERBOSE=$verbose"
-if test "$unused" = yes; then
- add_env="$add_env LD_DEBUG=\"$LD_DEBUG${LD_DEBUG:+,}unused\""
-fi
-
-# The following use of cat is needed to make ldd work in SELinux
-# environments where the executed program might not have permissions
-# to write to the console/tty. But only bash 3.x supports the pipefail
-# option, and we don't bother to handle the case for older bash versions.
-if x=`set -o` && test "$x" != "${x#*pipefail}" && set -o pipefail ; then
- try_trace() {
- eval $add_env '"$@"' | cat
- }
-else
- try_trace() {
- eval $add_env '"$@"'
- }
-fi
-
-case $# in
-0)
- echo >&2 'ldd:' $"missing file arguments"
- echo >&2 $"Try \`ldd --help' for more information."
- exit 1
- ;;
-1)
- single_file=t
- ;;
-*)
- single_file=f
- ;;
-esac
-
-result=0
-for file do
- # We don't list the file name when there is only one.
- test $single_file = t || echo "${file}:"
- case $file in
- */*) :
- ;;
- *) file=./$file
- ;;
- esac
- if test ! -e "$file"; then
- echo "ldd: ${file}:" $"No such file or directory" >&2
- result=1
- elif test ! -f "$file"; then
- echo "ldd: ${file}:" $"not regular file" >&2
- result=1
- elif test -r "$file"; then
- RTLD=
- ret=1
- for rtld in ${RTLDLIST}; do
- if test -x $rtld; then
- verify_out=`${rtld} --verify "$file"`
- ret=$?
- case $ret in
- [02]) RTLD=${rtld}; break;;
- esac
- fi
- done
- case $ret in
- 0|2)
- try_trace "$RTLD" "$file" || result=1
- ;;
- 1|126)
- # This can be a non-ELF binary or no binary at all.
- nonelf "$file" || {
- echo $" not a dynamic executable"
- result=1
- }
- ;;
- *)
- echo 'ldd:' ${RTLD} $"exited with unknown exit code" "($ret)" >&2
- exit 1
- ;;
- esac
- else
- echo 'ldd:' $"error: you do not have read permission for" "\`$file'" >&2
- result=1
- fi
-done
-
-exit $result
-# Local Variables:
-# mode:ksh
-# End:
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/less b/src/initramfs/eglibc-rootfs/usr/bin/less
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/less
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/logger b/src/initramfs/eglibc-rootfs/usr/bin/logger
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/logger
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/lspci b/src/initramfs/eglibc-rootfs/usr/bin/lspci
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/lspci
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/lsusb b/src/initramfs/eglibc-rootfs/usr/bin/lsusb
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/lsusb
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/lzcat b/src/initramfs/eglibc-rootfs/usr/bin/lzcat
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/lzcat
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/lzma b/src/initramfs/eglibc-rootfs/usr/bin/lzma
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/lzma
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/lzmacat b/src/initramfs/eglibc-rootfs/usr/bin/lzmacat
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/lzmacat
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/md5sum b/src/initramfs/eglibc-rootfs/usr/bin/md5sum
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/md5sum
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/nc b/src/initramfs/eglibc-rootfs/usr/bin/nc
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/nc
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/nmeter b/src/initramfs/eglibc-rootfs/usr/bin/nmeter
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/nmeter
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/nslookup b/src/initramfs/eglibc-rootfs/usr/bin/nslookup
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/nslookup
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/openvt b/src/initramfs/eglibc-rootfs/usr/bin/openvt
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/openvt
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/pkill b/src/initramfs/eglibc-rootfs/usr/bin/pkill
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/pkill
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/printf b/src/initramfs/eglibc-rootfs/usr/bin/printf
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/printf
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/readahead b/src/initramfs/eglibc-rootfs/usr/bin/readahead
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/readahead
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/readlink b/src/initramfs/eglibc-rootfs/usr/bin/readlink
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/readlink
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/realpath b/src/initramfs/eglibc-rootfs/usr/bin/realpath
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/realpath
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/rpm2cpio b/src/initramfs/eglibc-rootfs/usr/bin/rpm2cpio
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/rpm2cpio
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/setsid b/src/initramfs/eglibc-rootfs/usr/bin/setsid
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/setsid
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/smemcap b/src/initramfs/eglibc-rootfs/usr/bin/smemcap
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/smemcap
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/sort b/src/initramfs/eglibc-rootfs/usr/bin/sort
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/sort
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/strings b/src/initramfs/eglibc-rootfs/usr/bin/strings
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/strings
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/tail b/src/initramfs/eglibc-rootfs/usr/bin/tail
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/tail
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/telnet b/src/initramfs/eglibc-rootfs/usr/bin/telnet
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/telnet
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/test b/src/initramfs/eglibc-rootfs/usr/bin/test
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/test
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/tftp b/src/initramfs/eglibc-rootfs/usr/bin/tftp
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/tftp
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/time b/src/initramfs/eglibc-rootfs/usr/bin/time
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/time
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/timeout b/src/initramfs/eglibc-rootfs/usr/bin/timeout
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/timeout
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/top b/src/initramfs/eglibc-rootfs/usr/bin/top
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/top
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/tr b/src/initramfs/eglibc-rootfs/usr/bin/tr
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/tr
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/ttysize b/src/initramfs/eglibc-rootfs/usr/bin/ttysize
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/ttysize
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/uniq b/src/initramfs/eglibc-rootfs/usr/bin/uniq
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/uniq
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/unlzma b/src/initramfs/eglibc-rootfs/usr/bin/unlzma
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/unlzma
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/unxz b/src/initramfs/eglibc-rootfs/usr/bin/unxz
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/unxz
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/uptime b/src/initramfs/eglibc-rootfs/usr/bin/uptime
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/uptime
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/wc b/src/initramfs/eglibc-rootfs/usr/bin/wc
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/wc
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/wget b/src/initramfs/eglibc-rootfs/usr/bin/wget
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/wget
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/which b/src/initramfs/eglibc-rootfs/usr/bin/which
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/which
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/whoami b/src/initramfs/eglibc-rootfs/usr/bin/whoami
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/whoami
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/xargs b/src/initramfs/eglibc-rootfs/usr/bin/xargs
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/xargs
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/xz b/src/initramfs/eglibc-rootfs/usr/bin/xz
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/xz
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/bin/xzcat b/src/initramfs/eglibc-rootfs/usr/bin/xzcat
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/bin/xzcat
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libbfd-2.20.1-system.20100303.so b/src/initramfs/eglibc-rootfs/usr/lib/libbfd-2.20.1-system.20100303.so
deleted file mode 100644
index ae24957b..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libbfd-2.20.1-system.20100303.so and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libfusion-1.2.so.9 b/src/initramfs/eglibc-rootfs/usr/lib/libfusion-1.2.so.9
deleted file mode 100644
index 1b8d84ea..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libfusion-1.2.so.9 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libgcc_s.so.1 b/src/initramfs/eglibc-rootfs/usr/lib/libgcc_s.so.1
deleted file mode 100644
index f893c04d..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libgcc_s.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libhal.so.1 b/src/initramfs/eglibc-rootfs/usr/lib/libhal.so.1
deleted file mode 100644
index 8db463f0..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libhal.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libhd.so.16 b/src/initramfs/eglibc-rootfs/usr/lib/libhd.so.16
deleted file mode 100644
index 3fd68f29..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libhd.so.16 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libm.so b/src/initramfs/eglibc-rootfs/usr/lib/libm.so
deleted file mode 120000
index 6c7b429c..00000000
--- a/src/initramfs/eglibc-rootfs/usr/lib/libm.so
+++ /dev/null
@@ -1 +0,0 @@
-/lib/libm.so.6
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libpcre.so.3 b/src/initramfs/eglibc-rootfs/usr/lib/libpcre.so.3
deleted file mode 100644
index d11113bb..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libpcre.so.3 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/lib/libz.so.1 b/src/initramfs/eglibc-rootfs/usr/lib/libz.so.1
deleted file mode 100644
index c1b51178..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/lib/libz.so.1 and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/brctl b/src/initramfs/eglibc-rootfs/usr/sbin/brctl
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/brctl
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/chroot b/src/initramfs/eglibc-rootfs/usr/sbin/chroot
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/chroot
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/dhcprelay b/src/initramfs/eglibc-rootfs/usr/sbin/dhcprelay
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/dhcprelay
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/fbset b/src/initramfs/eglibc-rootfs/usr/sbin/fbset
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/fbset
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/httpd b/src/initramfs/eglibc-rootfs/usr/sbin/httpd
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/httpd
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/hwinfo b/src/initramfs/eglibc-rootfs/usr/sbin/hwinfo
deleted file mode 100755
index 5dbe48a4..00000000
Binary files a/src/initramfs/eglibc-rootfs/usr/sbin/hwinfo and /dev/null differ
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/loadfont b/src/initramfs/eglibc-rootfs/usr/sbin/loadfont
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/loadfont
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/rdate b/src/initramfs/eglibc-rootfs/usr/sbin/rdate
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/rdate
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/setlogcons b/src/initramfs/eglibc-rootfs/usr/sbin/setlogcons
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/setlogcons
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/eglibc-rootfs/usr/sbin/udhcpd b/src/initramfs/eglibc-rootfs/usr/sbin/udhcpd
deleted file mode 120000
index f948f1a7..00000000
--- a/src/initramfs/eglibc-rootfs/usr/sbin/udhcpd
+++ /dev/null
@@ -1 +0,0 @@
-../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/packages/compcache/usr/bin/rzscontrol b/src/initramfs/packages/compcache/usr/bin/rzscontrol
new file mode 100755
index 00000000..0d7f2702
Binary files /dev/null and b/src/initramfs/packages/compcache/usr/bin/rzscontrol differ
diff --git a/src/initramfs/packages/hwinfo/lib/libdbus-1.so.3 b/src/initramfs/packages/hwinfo/lib/libdbus-1.so.3
new file mode 100644
index 00000000..526f06dc
Binary files /dev/null and b/src/initramfs/packages/hwinfo/lib/libdbus-1.so.3 differ
diff --git a/src/initramfs/packages/hwinfo/lib/librt.so.1 b/src/initramfs/packages/hwinfo/lib/librt.so.1
new file mode 100644
index 00000000..fbea0db1
Binary files /dev/null and b/src/initramfs/packages/hwinfo/lib/librt.so.1 differ
diff --git a/src/initramfs/packages/hwinfo/usr/lib/libhal.so.1 b/src/initramfs/packages/hwinfo/usr/lib/libhal.so.1
new file mode 100644
index 00000000..8db463f0
Binary files /dev/null and b/src/initramfs/packages/hwinfo/usr/lib/libhal.so.1 differ
diff --git a/src/initramfs/packages/hwinfo/usr/lib/libhd.so.16 b/src/initramfs/packages/hwinfo/usr/lib/libhd.so.16
new file mode 100644
index 00000000..3fd68f29
Binary files /dev/null and b/src/initramfs/packages/hwinfo/usr/lib/libhd.so.16 differ
diff --git a/src/initramfs/packages/hwinfo/usr/sbin/hwinfo b/src/initramfs/packages/hwinfo/usr/sbin/hwinfo
new file mode 100755
index 00000000..5dbe48a4
Binary files /dev/null and b/src/initramfs/packages/hwinfo/usr/sbin/hwinfo differ
diff --git a/src/initramfs/packages/mksquashfs/lib/libm.so.6 b/src/initramfs/packages/mksquashfs/lib/libm.so.6
new file mode 100644
index 00000000..0e557bfe
Binary files /dev/null and b/src/initramfs/packages/mksquashfs/lib/libm.so.6 differ
diff --git a/src/initramfs/packages/mksquashfs/lib/libpthread.so.0 b/src/initramfs/packages/mksquashfs/lib/libpthread.so.0
new file mode 100755
index 00000000..55de7d33
Binary files /dev/null and b/src/initramfs/packages/mksquashfs/lib/libpthread.so.0 differ
diff --git a/src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_3_3 b/src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_3_3
new file mode 100755
index 00000000..0f4efdc8
Binary files /dev/null and b/src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_3_3 differ
diff --git a/src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_4 b/src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_4
new file mode 100755
index 00000000..b40e6e42
Binary files /dev/null and b/src/initramfs/packages/mksquashfs/usr/bin/mksquashfs_4 differ
diff --git a/src/initramfs/packages/nbd-client/sbin/nbd-client b/src/initramfs/packages/nbd-client/sbin/nbd-client
new file mode 100755
index 00000000..634e6ff3
Binary files /dev/null and b/src/initramfs/packages/nbd-client/sbin/nbd-client differ
diff --git a/src/initramfs/packages/plymouth/bin/plymouth b/src/initramfs/packages/plymouth/bin/plymouth
new file mode 100755
index 00000000..a8a5a638
Binary files /dev/null and b/src/initramfs/packages/plymouth/bin/plymouth differ
diff --git a/src/initramfs/packages/plymouth/lib/libply-splash-core.so.2 b/src/initramfs/packages/plymouth/lib/libply-splash-core.so.2
new file mode 100644
index 00000000..875479cb
Binary files /dev/null and b/src/initramfs/packages/plymouth/lib/libply-splash-core.so.2 differ
diff --git a/src/initramfs/packages/plymouth/lib/libply.so.2 b/src/initramfs/packages/plymouth/lib/libply.so.2
new file mode 100644
index 00000000..14532e2b
Binary files /dev/null and b/src/initramfs/packages/plymouth/lib/libply.so.2 differ
diff --git a/src/initramfs/packages/plymouth/lib/librt.so.1 b/src/initramfs/packages/plymouth/lib/librt.so.1
new file mode 100644
index 00000000..fbea0db1
Binary files /dev/null and b/src/initramfs/packages/plymouth/lib/librt.so.1 differ
diff --git a/src/initramfs/packages/plymouth/sbin/plymouthd b/src/initramfs/packages/plymouth/sbin/plymouthd
new file mode 100755
index 00000000..c1876a3e
Binary files /dev/null and b/src/initramfs/packages/plymouth/sbin/plymouthd differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/details/details.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/details/details.plymouth
new file mode 100644
index 00000000..bd849642
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/details/details.plymouth
@@ -0,0 +1,4 @@
+[Plymouth Theme]
+Name=Details
+Description=Verbose fallback theme
+ModuleName=details
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png
new file mode 100644
index 00000000..dd527369
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/bullet.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png
new file mode 100644
index 00000000..a9f4157b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/entry.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth
new file mode 100644
index 00000000..e90b94e9
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/fade-in.plymouth
@@ -0,0 +1,7 @@
+[Plymouth Theme]
+Name=Fade In
+Description=Simple theme that fades in and out with shimmering stars
+ModuleName=fade-throbber
+
+[fade-throbber]
+ImageDir=/usr/share/plymouth/themes/fade-in
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png
new file mode 100644
index 00000000..7ddd3751
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/lock.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/star.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/star.png
new file mode 100644
index 00000000..8d175cac
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/fade-in/star.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/box.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/box.png
new file mode 100644
index 00000000..54876e68
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/box.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/bullet.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/bullet.png
new file mode 100644
index 00000000..87ddfe81
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/bullet.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/entry.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/entry.png
new file mode 100644
index 00000000..37217b63
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/entry.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth
new file mode 100644
index 00000000..38cbafba
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/glow.plymouth
@@ -0,0 +1,11 @@
+[Plymouth Theme]
+Name=Bizcom Glow
+Description=Corporate theme with pie chart boot progress followed by a glowing emerging logo
+ModuleName=two-step
+
+[two-step]
+ImageDir=/usr/share/plymouth/themes/glow
+HorizontalAlignment=.25
+VerticalAlignment=.5
+Transition=merge-fade
+TransitionDuration=.5
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/lock.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/lock.png
new file mode 100644
index 00000000..a0f8c12f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/lock.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png
new file mode 100644
index 00000000..9f94fc01
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-00.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png
new file mode 100644
index 00000000..b00035d5
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-01.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png
new file mode 100644
index 00000000..872da19d
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-02.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png
new file mode 100644
index 00000000..24f32ff5
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-03.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png
new file mode 100644
index 00000000..da1ecbd4
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-04.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png
new file mode 100644
index 00000000..38721afe
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-05.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png
new file mode 100644
index 00000000..3efdca73
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-06.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png
new file mode 100644
index 00000000..53277ed0
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-07.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png
new file mode 100644
index 00000000..db0b570a
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-08.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png
new file mode 100644
index 00000000..14c20559
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-09.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png
new file mode 100644
index 00000000..c522bc5c
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-10.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png
new file mode 100644
index 00000000..30171ec2
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-11.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png
new file mode 100644
index 00000000..b920cb17
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-12.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png
new file mode 100644
index 00000000..c697003c
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-13.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png
new file mode 100644
index 00000000..02b7d07d
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-14.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png
new file mode 100644
index 00000000..533ceb0d
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-15.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png
new file mode 100644
index 00000000..7039f4fd
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-16.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png
new file mode 100644
index 00000000..210c9173
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-17.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png
new file mode 100644
index 00000000..f36be2c8
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-18.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png
new file mode 100644
index 00000000..b44475b8
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-19.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png
new file mode 100644
index 00000000..45d275b7
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-20.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png
new file mode 100644
index 00000000..641ba2f9
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-21.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png
new file mode 100644
index 00000000..9805103b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-22.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png
new file mode 100644
index 00000000..d8a41a54
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-23.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png
new file mode 100644
index 00000000..ac25bdcf
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-24.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png
new file mode 100644
index 00000000..66cd03d9
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-25.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png
new file mode 100644
index 00000000..e19fb685
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-26.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png
new file mode 100644
index 00000000..d875c3a5
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-27.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png
new file mode 100644
index 00000000..dd2a1a3c
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-28.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png
new file mode 100644
index 00000000..4d8b3494
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-29.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png
new file mode 100644
index 00000000..7ea1544c
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-30.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png
new file mode 100644
index 00000000..73e85d26
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-31.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png
new file mode 100644
index 00000000..914bc6dc
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/progress-32.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png
new file mode 100644
index 00000000..6eed4b4f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-00.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png
new file mode 100644
index 00000000..3bc8747b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-01.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png
new file mode 100644
index 00000000..d14f24cf
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-02.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png
new file mode 100644
index 00000000..aa5554c1
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-03.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png
new file mode 100644
index 00000000..02a42c23
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-04.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png
new file mode 100644
index 00000000..08d30cff
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-05.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png
new file mode 100644
index 00000000..1b3c0b93
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-06.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png
new file mode 100644
index 00000000..cf6b61dc
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-07.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png
new file mode 100644
index 00000000..fa62c8c2
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-08.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png
new file mode 100644
index 00000000..70094674
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-09.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png
new file mode 100644
index 00000000..f145d643
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-10.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png
new file mode 100644
index 00000000..d7d0c433
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-11.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png
new file mode 100644
index 00000000..f161c67c
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-12.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png
new file mode 100644
index 00000000..334f78d7
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-13.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png
new file mode 100644
index 00000000..535f7ea7
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-14.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png
new file mode 100644
index 00000000..3291f07c
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-15.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png
new file mode 100644
index 00000000..b8557916
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-16.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png
new file mode 100644
index 00000000..e9148416
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-17.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png
new file mode 100644
index 00000000..3ae351a0
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-18.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png
new file mode 100644
index 00000000..2a27b62d
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/glow/throbber-19.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/box.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/box.png
new file mode 100644
index 00000000..54876e68
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/box.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/bullet.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/bullet.png
new file mode 100644
index 00000000..dd527369
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/bullet.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/entry.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/entry.png
new file mode 100644
index 00000000..a9f4157b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/entry.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/lock.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/lock.png
new file mode 100644
index 00000000..a0f8c12f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/lock.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png
new file mode 100644
index 00000000..dd1e747a
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_bar.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_box.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_box.png
new file mode 100644
index 00000000..c485cfbc
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/progress_box.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.plymouth
new file mode 100644
index 00000000..1ee47bda
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.plymouth
@@ -0,0 +1,11 @@
+[Plymouth Theme]
+Name=Script
+Description=Script example plugin.
+ModuleName=script
+
+[script]
+ImageDir=/usr/share/plymouth/themes/script
+ScriptFile=/usr/share/plymouth/themes/script/script.script
+
+[script-env-vars]
+example_env_var=example env var value
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.script b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.script
new file mode 100644
index 00000000..ed54a010
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/script/script.script
@@ -0,0 +1,164 @@
+# This is an example plymouth plugin script
+
+Window.SetBackgroundTopColor(0.234, 0.43, 0.705);
+Window.SetBackgroundBottomColor(0.16, 0.25, 0.44);
+
+logo.image = Image("special://logo");
+logo.sprite = Sprite(logo.image);
+logo.opacity_angle = 0;
+
+fun refresh_callback ()
+ {
+ if (status == "normal")
+ {
+ logo.opacity_angle += ((2 * 3.14) / 50) * 0.5; # 0.5 HZ
+ min_opacity = 0.3;
+ opacity = (Math.Cos(logo.opacity_angle) + 1) / 2;
+ opacity *= 1 - min_opacity;
+ opacity += min_opacity;
+ logo.sprite.SetX (Window.GetX() + Window.GetWidth() / 2 - logo.image.GetWidth() / 2);
+ logo.sprite.SetY (Window.GetY() + Window.GetHeight() / 2 - logo.image.GetHeight() / 2);
+ logo.sprite.SetOpacity (opacity);
+ }
+ else
+ {
+ logo.sprite.SetX (0);
+ logo.sprite.SetY (0);
+ logo.sprite.SetOpacity (1);
+ }
+ }
+
+Plymouth.SetRefreshFunction (refresh_callback);
+
+#----------------------------------------- Dialogue --------------------------------
+
+status = "normal";
+
+fun dialog_setup()
+ {
+ local.box;
+ local.lock;
+ local.entry;
+
+ box.image = Image("box.png");
+ lock.image = Image("lock.png");
+ entry.image = Image("entry.png");
+
+ box.sprite = Sprite(box.image);
+ box.x = Window.GetX() + Window.GetWidth() / 2 - box.image.GetWidth ()/2;
+ box.y = Window.GetY() + Window.GetHeight() / 2 - box.image.GetHeight()/2;
+ box.z = 10000;
+ box.sprite.SetPosition(box.x, box.y, box.z);
+
+ lock.sprite = Sprite(lock.image);
+ lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
+ lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2;
+ lock.z = box.z + 1;
+ lock.sprite.SetPosition(lock.x, lock.y, lock.z);
+
+ entry.sprite = Sprite(entry.image);
+ entry.x = lock.x + lock.image.GetWidth();
+ entry.y = box.y + box.image.GetHeight()/2 - entry.image.GetHeight()/2;
+ entry.z = box.z + 1;
+ entry.sprite.SetPosition(entry.x, entry.y, entry.z);
+
+ global.dialog.box = box;
+ global.dialog.lock = lock;
+ global.dialog.entry = entry;
+ global.dialog.bullet_image = Image("bullet.png");
+ dialog_opacity (1);
+ }
+
+fun dialog_opacity(opacity)
+ {
+ dialog.box.sprite.SetOpacity (opacity);
+ dialog.lock.sprite.SetOpacity (opacity);
+ dialog.entry.sprite.SetOpacity (opacity);
+ for (index = 0; dialog.bullet[index]; index++)
+ {
+ dialog.bullet[index].sprite.SetOpacity(opacity);
+ }
+ }
+
+fun display_normal_callback ()
+ {
+ global.status = "normal";
+ if (global.dialog)
+ dialog_opacity (0);
+ }
+
+fun display_password_callback (prompt, bullets)
+ {
+ global.status = "password";
+ if (!global.dialog)
+ dialog_setup();
+ else
+ dialog_opacity(1);
+ for (index = 0; dialog.bullet[index] || index < bullets; index++)
+ {
+ if (!dialog.bullet[index])
+ {
+ dialog.bullet[index].sprite = Sprite(dialog.bullet_image);
+ dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth();
+ dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2;
+ dialog.bullet[index].z = dialog.entry.z + 1;
+ dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z);
+ }
+ if (index < bullets)
+ dialog.bullet[index].sprite.SetOpacity(1);
+ else
+ dialog.bullet[index].sprite.SetOpacity(0);
+ }
+ }
+
+Plymouth.SetDisplayNormalFunction(display_normal_callback);
+Plymouth.SetDisplayPasswordFunction(display_password_callback);
+
+#----------------------------------------- Progress Bar --------------------------------
+
+progress_box.image = Image("progress_box.png");
+progress_box.sprite = Sprite(progress_box.image);
+
+progress_box.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2;
+progress_box.y = Window.GetY() + Window.GetHeight() * 0.75 - progress_box.image.GetHeight() / 2;
+progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0);
+
+progress_bar.original_image = Image("progress_bar.png");
+progress_bar.sprite = Sprite();
+
+progress_bar.x = Window.GetX() + Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2;
+progress_bar.y = Window.GetY() + Window.GetHeight() / 2 * 1.5 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2;
+progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1);
+
+fun progress_callback (duration, progress)
+ {
+ if (progress_bar.image.GetWidth () != Math.Int (progress_bar.original_image.GetWidth () * progress))
+ {
+ progress_bar.image = progress_bar.original_image.Scale(progress_bar.original_image.GetWidth(progress_bar.original_image) * progress, progress_bar.original_image.GetHeight());
+ progress_bar.sprite.SetImage (progress_bar.image);
+ }
+ }
+
+Plymouth.SetBootProgressFunction(progress_callback);
+
+#----------------------------------------- Quit --------------------------------
+
+fun quit_callback ()
+{
+ logo.sprite.SetOpacity (1);
+}
+
+Plymouth.SetQuitFunction(quit_callback);
+
+#----------------------------------------- Message --------------------------------
+
+message_sprite = Sprite();
+message_sprite.SetPosition(10, 10, 10000);
+
+fun message_callback (text)
+{
+ my_image = Image.Text(text, 1, 1, 1);
+ message_sprite.SetImage(my_image);
+}
+
+Plymouth.SetMessageFunction(message_callback);
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/box.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/box.png
new file mode 100644
index 00000000..54876e68
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/box.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/bullet.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/bullet.png
new file mode 100644
index 00000000..dd527369
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/bullet.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/entry.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/entry.png
new file mode 100644
index 00000000..a9f4157b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/entry.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/lock.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/lock.png
new file mode 100644
index 00000000..a0f8c12f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/lock.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png
new file mode 100644
index 00000000..b520bc3a
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/progress_bar.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth
new file mode 100644
index 00000000..13d25f8d
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/solar.plymouth
@@ -0,0 +1,7 @@
+[Plymouth Theme]
+Name=Solar
+Description=Space theme with violent flaring blue star
+ModuleName=space-flares
+
+[space-flares]
+ImageDir=/usr/share/plymouth/themes/solar
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/star.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/star.png
new file mode 100644
index 00000000..f4467ed5
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/solar/star.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png
new file mode 100644
index 00000000..54876e68
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/box.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png
new file mode 100644
index 00000000..dd527369
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/bullet.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png
new file mode 100644
index 00000000..a9f4157b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/entry.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png
new file mode 100644
index 00000000..a0f8c12f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/lock.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth
new file mode 100644
index 00000000..f2baf3f8
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/spinfinity.plymouth
@@ -0,0 +1,7 @@
+[Plymouth Theme]
+Name=Spinfinity
+Description=Simple theme that shows a rotating infinity sign in the center of the screen
+ModuleName=throbgress
+
+[throbgress]
+ImageDir=/usr/share/plymouth/themes/spinfinity
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png
new file mode 100644
index 00000000..5ca64413
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-00.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png
new file mode 100644
index 00000000..dac708be
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-01.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png
new file mode 100644
index 00000000..68aa2d21
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-02.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png
new file mode 100644
index 00000000..ec63a382
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-03.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png
new file mode 100644
index 00000000..876bf373
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-04.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png
new file mode 100644
index 00000000..fa909b97
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-05.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png
new file mode 100644
index 00000000..3d446354
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-06.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png
new file mode 100644
index 00000000..b932c68b
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-07.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png
new file mode 100644
index 00000000..920c8dbd
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-08.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png
new file mode 100644
index 00000000..b4526956
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-09.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png
new file mode 100644
index 00000000..99377a90
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-10.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png
new file mode 100644
index 00000000..3bd36a9e
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-11.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png
new file mode 100644
index 00000000..da6ce584
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-12.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png
new file mode 100644
index 00000000..58cd02f9
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-13.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png
new file mode 100644
index 00000000..b43aef1a
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-14.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png
new file mode 100644
index 00000000..8eb06d8f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-15.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png
new file mode 100644
index 00000000..0689f510
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-16.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png
new file mode 100644
index 00000000..db78d6b6
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-17.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png
new file mode 100644
index 00000000..29967543
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-18.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png
new file mode 100644
index 00000000..66b17fe0
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-19.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png
new file mode 100644
index 00000000..1af7efcf
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-20.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png
new file mode 100644
index 00000000..661c0a32
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-21.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png
new file mode 100644
index 00000000..fbd0379e
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-22.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png
new file mode 100644
index 00000000..4fda936d
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-23.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png
new file mode 100644
index 00000000..8be2bc0a
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-24.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png
new file mode 100644
index 00000000..2009b4bd
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-25.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png
new file mode 100644
index 00000000..531a39d0
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-26.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png
new file mode 100644
index 00000000..51a9b688
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-27.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png
new file mode 100644
index 00000000..1f598586
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-28.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png
new file mode 100644
index 00000000..10143567
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-29.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png
new file mode 100644
index 00000000..652bdef4
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-30.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png
new file mode 100644
index 00000000..6792bc8f
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-31.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png
new file mode 100644
index 00000000..232c05bf
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-32.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png
new file mode 100644
index 00000000..b9836fef
Binary files /dev/null and b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/spinfinity/throbber-33.png differ
diff --git a/src/initramfs/packages/plymouth/usr/share/plymouth/themes/text/text.plymouth b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/text/text.plymouth
new file mode 100644
index 00000000..a2db9e68
--- /dev/null
+++ b/src/initramfs/packages/plymouth/usr/share/plymouth/themes/text/text.plymouth
@@ -0,0 +1,4 @@
+[Plymouth Theme]
+Name=Text
+Description=Text mode theme with tricolor progress bar
+ModuleName=text
diff --git a/src/initramfs/packages/strace/usr/bin/strace b/src/initramfs/packages/strace/usr/bin/strace
new file mode 100755
index 00000000..efe78e71
Binary files /dev/null and b/src/initramfs/packages/strace/usr/bin/strace differ
diff --git a/src/initramfs/rootfs/bin/ash b/src/initramfs/rootfs/bin/ash
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ash
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/bash b/src/initramfs/rootfs/bin/bash
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/bash
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/busybox b/src/initramfs/rootfs/bin/busybox
new file mode 100755
index 00000000..d790a243
Binary files /dev/null and b/src/initramfs/rootfs/bin/busybox differ
diff --git a/src/initramfs/rootfs/bin/cat b/src/initramfs/rootfs/bin/cat
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/cat
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/chgrp b/src/initramfs/rootfs/bin/chgrp
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/chgrp
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/chmod b/src/initramfs/rootfs/bin/chmod
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/chmod
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/chown b/src/initramfs/rootfs/bin/chown
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/chown
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/cp b/src/initramfs/rootfs/bin/cp
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/cp
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/cpio b/src/initramfs/rootfs/bin/cpio
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/cpio
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/cttyhack b/src/initramfs/rootfs/bin/cttyhack
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/cttyhack
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/date b/src/initramfs/rootfs/bin/date
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/date
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/dd b/src/initramfs/rootfs/bin/dd
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/dd
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/df b/src/initramfs/rootfs/bin/df
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/df
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/dmesg b/src/initramfs/rootfs/bin/dmesg
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/dmesg
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/dnsdomainname b/src/initramfs/rootfs/bin/dnsdomainname
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/dnsdomainname
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/dumpkmap b/src/initramfs/rootfs/bin/dumpkmap
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/dumpkmap
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/echo b/src/initramfs/rootfs/bin/echo
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/echo
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/egrep b/src/initramfs/rootfs/bin/egrep
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/egrep
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/false b/src/initramfs/rootfs/bin/false
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/false
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/grep b/src/initramfs/rootfs/bin/grep
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/grep
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/gunzip b/src/initramfs/rootfs/bin/gunzip
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/gunzip
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/gzip b/src/initramfs/rootfs/bin/gzip
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/gzip
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/hostname b/src/initramfs/rootfs/bin/hostname
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/hostname
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/ip b/src/initramfs/rootfs/bin/ip
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ip
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/ipcalc b/src/initramfs/rootfs/bin/ipcalc
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ipcalc
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/kill b/src/initramfs/rootfs/bin/kill
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/kill
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/ln b/src/initramfs/rootfs/bin/ln
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ln
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/ls b/src/initramfs/rootfs/bin/ls
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ls
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/mkdir b/src/initramfs/rootfs/bin/mkdir
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/mkdir
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/mknod b/src/initramfs/rootfs/bin/mknod
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/mknod
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/mount b/src/initramfs/rootfs/bin/mount
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/mount
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/mv b/src/initramfs/rootfs/bin/mv
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/mv
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/netstat b/src/initramfs/rootfs/bin/netstat
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/netstat
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/nice b/src/initramfs/rootfs/bin/nice
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/nice
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/pidof b/src/initramfs/rootfs/bin/pidof
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/pidof
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/ping b/src/initramfs/rootfs/bin/ping
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ping
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/ps b/src/initramfs/rootfs/bin/ps
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/ps
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/pwd b/src/initramfs/rootfs/bin/pwd
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/pwd
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/rev b/src/initramfs/rootfs/bin/rev
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/rev
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/rm b/src/initramfs/rootfs/bin/rm
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/rm
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/sed b/src/initramfs/rootfs/bin/sed
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/sed
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/sh b/src/initramfs/rootfs/bin/sh
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/sh
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/sleep b/src/initramfs/rootfs/bin/sleep
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/sleep
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/sync b/src/initramfs/rootfs/bin/sync
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/sync
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/tar b/src/initramfs/rootfs/bin/tar
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/tar
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/touch b/src/initramfs/rootfs/bin/touch
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/touch
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/true b/src/initramfs/rootfs/bin/true
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/true
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/umount b/src/initramfs/rootfs/bin/umount
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/umount
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/uname b/src/initramfs/rootfs/bin/uname
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/uname
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/usleep b/src/initramfs/rootfs/bin/usleep
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/usleep
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/vi b/src/initramfs/rootfs/bin/vi
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/vi
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/bin/zcat b/src/initramfs/rootfs/bin/zcat
new file mode 120000
index 00000000..c3fa8102
--- /dev/null
+++ b/src/initramfs/rootfs/bin/zcat
@@ -0,0 +1 @@
+busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/lib/ld-2.11.2.so b/src/initramfs/rootfs/lib/ld-2.11.2.so
new file mode 100755
index 00000000..fecb3a46
Binary files /dev/null and b/src/initramfs/rootfs/lib/ld-2.11.2.so differ
diff --git a/src/initramfs/rootfs/lib/ld-linux.so.2 b/src/initramfs/rootfs/lib/ld-linux.so.2
new file mode 120000
index 00000000..e1654955
--- /dev/null
+++ b/src/initramfs/rootfs/lib/ld-linux.so.2
@@ -0,0 +1 @@
+ld-2.11.2.so
\ No newline at end of file
diff --git a/src/initramfs/rootfs/lib/libc.so.6 b/src/initramfs/rootfs/lib/libc.so.6
new file mode 100755
index 00000000..bfd7ef5d
Binary files /dev/null and b/src/initramfs/rootfs/lib/libc.so.6 differ
diff --git a/src/initramfs/rootfs/lib/libdbus-1.so.3 b/src/initramfs/rootfs/lib/libdbus-1.so.3
new file mode 100644
index 00000000..526f06dc
Binary files /dev/null and b/src/initramfs/rootfs/lib/libdbus-1.so.3 differ
diff --git a/src/initramfs/rootfs/lib/libdl.so.2 b/src/initramfs/rootfs/lib/libdl.so.2
new file mode 100644
index 00000000..b7d6dacc
Binary files /dev/null and b/src/initramfs/rootfs/lib/libdl.so.2 differ
diff --git a/src/initramfs/rootfs/lib/libm.so.6 b/src/initramfs/rootfs/lib/libm.so.6
new file mode 100644
index 00000000..0e557bfe
Binary files /dev/null and b/src/initramfs/rootfs/lib/libm.so.6 differ
diff --git a/src/initramfs/rootfs/lib/libnss_dns-2.11.2.so b/src/initramfs/rootfs/lib/libnss_dns-2.11.2.so
new file mode 100644
index 00000000..5d17fe44
Binary files /dev/null and b/src/initramfs/rootfs/lib/libnss_dns-2.11.2.so differ
diff --git a/src/initramfs/rootfs/lib/libnss_dns.so.2 b/src/initramfs/rootfs/lib/libnss_dns.so.2
new file mode 120000
index 00000000..870d4ad1
--- /dev/null
+++ b/src/initramfs/rootfs/lib/libnss_dns.so.2
@@ -0,0 +1 @@
+libnss_dns-2.11.2.so
\ No newline at end of file
diff --git a/src/initramfs/rootfs/lib/libresolv-2.11.2.so b/src/initramfs/rootfs/lib/libresolv-2.11.2.so
new file mode 100644
index 00000000..bd199af4
Binary files /dev/null and b/src/initramfs/rootfs/lib/libresolv-2.11.2.so differ
diff --git a/src/initramfs/rootfs/lib/libresolv.so.2 b/src/initramfs/rootfs/lib/libresolv.so.2
new file mode 120000
index 00000000..0e93257d
--- /dev/null
+++ b/src/initramfs/rootfs/lib/libresolv.so.2
@@ -0,0 +1 @@
+libresolv-2.11.2.so
\ No newline at end of file
diff --git a/src/initramfs/rootfs/lib/librt.so.1 b/src/initramfs/rootfs/lib/librt.so.1
new file mode 100644
index 00000000..fbea0db1
Binary files /dev/null and b/src/initramfs/rootfs/lib/librt.so.1 differ
diff --git a/src/initramfs/rootfs/linuxrc b/src/initramfs/rootfs/linuxrc
new file mode 120000
index 00000000..f9f73421
--- /dev/null
+++ b/src/initramfs/rootfs/linuxrc
@@ -0,0 +1 @@
+bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/arp b/src/initramfs/rootfs/sbin/arp
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/arp
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/bootchartd b/src/initramfs/rootfs/sbin/bootchartd
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/bootchartd
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/fbsplash b/src/initramfs/rootfs/sbin/fbsplash
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/fbsplash
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/fdisk b/src/initramfs/rootfs/sbin/fdisk
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/fdisk
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/getty b/src/initramfs/rootfs/sbin/getty
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/getty
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/halt b/src/initramfs/rootfs/sbin/halt
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/halt
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/hdparm b/src/initramfs/rootfs/sbin/hdparm
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/hdparm
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/hwclock b/src/initramfs/rootfs/sbin/hwclock
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/hwclock
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/init b/src/initramfs/rootfs/sbin/init
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/init
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/inotifyd b/src/initramfs/rootfs/sbin/inotifyd
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/inotifyd
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/insmod b/src/initramfs/rootfs/sbin/insmod
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/insmod
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/klogd b/src/initramfs/rootfs/sbin/klogd
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/klogd
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/ldconfig b/src/initramfs/rootfs/sbin/ldconfig
new file mode 100755
index 00000000..74da4189
Binary files /dev/null and b/src/initramfs/rootfs/sbin/ldconfig differ
diff --git a/src/initramfs/rootfs/sbin/loadkmap b/src/initramfs/rootfs/sbin/loadkmap
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/loadkmap
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/logread b/src/initramfs/rootfs/sbin/logread
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/logread
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/lsmod b/src/initramfs/rootfs/sbin/lsmod
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/lsmod
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/lspci b/src/initramfs/rootfs/sbin/lspci
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/lspci
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/lsusb b/src/initramfs/rootfs/sbin/lsusb
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/lsusb
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/mdev b/src/initramfs/rootfs/sbin/mdev
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/mdev
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/mkdosfs b/src/initramfs/rootfs/sbin/mkdosfs
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/mkdosfs
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/mkfs.vfat b/src/initramfs/rootfs/sbin/mkfs.vfat
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/mkfs.vfat
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/mkswap b/src/initramfs/rootfs/sbin/mkswap
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/mkswap
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/modinfo b/src/initramfs/rootfs/sbin/modinfo
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/modinfo
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/modprobe b/src/initramfs/rootfs/sbin/modprobe
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/modprobe
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/poweroff b/src/initramfs/rootfs/sbin/poweroff
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/poweroff
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/reboot b/src/initramfs/rootfs/sbin/reboot
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/reboot
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/rmmod b/src/initramfs/rootfs/sbin/rmmod
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/rmmod
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/route b/src/initramfs/rootfs/sbin/route
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/route
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/setconsole b/src/initramfs/rootfs/sbin/setconsole
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/setconsole
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/start-stop-daemon b/src/initramfs/rootfs/sbin/start-stop-daemon
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/start-stop-daemon
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/swapoff b/src/initramfs/rootfs/sbin/swapoff
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/swapoff
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/swapon b/src/initramfs/rootfs/sbin/swapon
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/swapon
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/switch_root b/src/initramfs/rootfs/sbin/switch_root
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/switch_root
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/sysctl b/src/initramfs/rootfs/sbin/sysctl
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/sysctl
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/syslogd b/src/initramfs/rootfs/sbin/syslogd
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/syslogd
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/tunctl b/src/initramfs/rootfs/sbin/tunctl
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/tunctl
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/udhcpc b/src/initramfs/rootfs/sbin/udhcpc
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/udhcpc
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/vconfig b/src/initramfs/rootfs/sbin/vconfig
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/vconfig
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/watchdog b/src/initramfs/rootfs/sbin/watchdog
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/watchdog
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/sbin/zcip b/src/initramfs/rootfs/sbin/zcip
new file mode 120000
index 00000000..71259713
--- /dev/null
+++ b/src/initramfs/rootfs/sbin/zcip
@@ -0,0 +1 @@
+../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/[ b/src/initramfs/rootfs/usr/bin/[
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/[
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/[[ b/src/initramfs/rootfs/usr/bin/[[
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/[[
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/ar b/src/initramfs/rootfs/usr/bin/ar
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/ar
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/arping b/src/initramfs/rootfs/usr/bin/arping
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/arping
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/awk b/src/initramfs/rootfs/usr/bin/awk
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/awk
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/basename b/src/initramfs/rootfs/usr/bin/basename
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/basename
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/bunzip2 b/src/initramfs/rootfs/usr/bin/bunzip2
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/bunzip2
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/bzcat b/src/initramfs/rootfs/usr/bin/bzcat
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/bzcat
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/bzip2 b/src/initramfs/rootfs/usr/bin/bzip2
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/bzip2
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/chvt b/src/initramfs/rootfs/usr/bin/chvt
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/chvt
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/cut b/src/initramfs/rootfs/usr/bin/cut
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/cut
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/deallocvt b/src/initramfs/rootfs/usr/bin/deallocvt
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/deallocvt
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/du b/src/initramfs/rootfs/usr/bin/du
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/du
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/dumpleases b/src/initramfs/rootfs/usr/bin/dumpleases
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/dumpleases
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/eject b/src/initramfs/rootfs/usr/bin/eject
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/eject
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/env b/src/initramfs/rootfs/usr/bin/env
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/env
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/expr b/src/initramfs/rootfs/usr/bin/expr
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/expr
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/fgconsole b/src/initramfs/rootfs/usr/bin/fgconsole
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/fgconsole
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/find b/src/initramfs/rootfs/usr/bin/find
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/find
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/flock b/src/initramfs/rootfs/usr/bin/flock
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/flock
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/free b/src/initramfs/rootfs/usr/bin/free
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/free
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/ftpget b/src/initramfs/rootfs/usr/bin/ftpget
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/ftpget
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/ftpput b/src/initramfs/rootfs/usr/bin/ftpput
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/ftpput
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/head b/src/initramfs/rootfs/usr/bin/head
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/head
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/id b/src/initramfs/rootfs/usr/bin/id
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/id
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/killall b/src/initramfs/rootfs/usr/bin/killall
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/killall
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/ld b/src/initramfs/rootfs/usr/bin/ld
new file mode 100755
index 00000000..f169e2ec
Binary files /dev/null and b/src/initramfs/rootfs/usr/bin/ld differ
diff --git a/src/initramfs/rootfs/usr/bin/ldd b/src/initramfs/rootfs/usr/bin/ldd
new file mode 100755
index 00000000..4dba3cfb
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/ldd
@@ -0,0 +1,193 @@
+#! /bin/bash
+# Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+
+# The GNU C Library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+
+# The GNU C Library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+
+# You should have received a copy of the GNU Lesser General Public
+# License along with the GNU C Library; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+
+# This is the `ldd' command, which lists what shared libraries are
+# used by given dynamically-linked executables. It works by invoking the
+# run-time dynamic linker as a command and setting the environment
+# variable LD_TRACE_LOADED_OBJECTS to a non-empty value.
+
+# We should be able to find the translation right at the beginning.
+TEXTDOMAIN=libc
+TEXTDOMAINDIR=/usr/share/locale
+
+RTLDLIST="/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2"
+warn=
+bind_now=
+verbose=
+
+while test $# -gt 0; do
+ case "$1" in
+ --vers | --versi | --versio | --version)
+ echo 'ldd (Debian EGLIBC 2.11.2-2) 2.11.2'
+ printf $"Copyright (C) %s Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+" "2009"
+ printf $"Written by %s and %s.
+" "Roland McGrath" "Ulrich Drepper"
+ exit 0
+ ;;
+ --h | --he | --hel | --help)
+ printf $"Usage: ldd [OPTION]... FILE...
+ --help print this help and exit
+ --version print version information and exit
+ -d, --data-relocs process data relocations
+ -r, --function-relocs process data and function relocations
+ -u, --unused print unused direct dependencies
+ -v, --verbose print all information
+"
+ printf $"For bug reporting instructions, please see:
+%s.
+" ""
+ exit 0
+ ;;
+ -d | --d | --da | --dat | --data | --data- | --data-r | --data-re | \
+ --data-rel | --data-relo | --data-reloc | --data-relocs)
+ warn=yes
+ shift
+ ;;
+ -r | --f | --fu | --fun | --func | --funct | --functi | --functio | \
+ --function | --function- | --function-r | --function-re | --function-rel | \
+ --function-relo | --function-reloc | --function-relocs)
+ warn=yes
+ bind_now=yes
+ shift
+ ;;
+ -v | --verb | --verbo | --verbos | --verbose)
+ verbose=yes
+ shift
+ ;;
+ -u | --u | --un | --unu | --unus | --unuse | --unused)
+ unused=yes
+ shift
+ ;;
+ --v | --ve | --ver)
+ echo >&2 $"ldd: option \`$1' is ambiguous"
+ exit 1
+ ;;
+ --) # Stop option processing.
+ shift; break
+ ;;
+ -*)
+ echo >&2 'ldd:' $"unrecognized option" "\`$1'"
+ echo >&2 $"Try \`ldd --help' for more information."
+ exit 1
+ ;;
+ *)
+ break
+ ;;
+ esac
+done
+
+nonelf ()
+{
+ # Maybe extra code for non-ELF binaries.
+ return 1;
+}
+
+add_env="LD_TRACE_LOADED_OBJECTS=1 LD_WARN=$warn LD_BIND_NOW=$bind_now"
+add_env="$add_env LD_LIBRARY_VERSION=\$verify_out"
+add_env="$add_env LD_VERBOSE=$verbose"
+if test "$unused" = yes; then
+ add_env="$add_env LD_DEBUG=\"$LD_DEBUG${LD_DEBUG:+,}unused\""
+fi
+
+# The following use of cat is needed to make ldd work in SELinux
+# environments where the executed program might not have permissions
+# to write to the console/tty. But only bash 3.x supports the pipefail
+# option, and we don't bother to handle the case for older bash versions.
+if x=`set -o` && test "$x" != "${x#*pipefail}" && set -o pipefail ; then
+ try_trace() {
+ eval $add_env '"$@"' | cat
+ }
+else
+ try_trace() {
+ eval $add_env '"$@"'
+ }
+fi
+
+case $# in
+0)
+ echo >&2 'ldd:' $"missing file arguments"
+ echo >&2 $"Try \`ldd --help' for more information."
+ exit 1
+ ;;
+1)
+ single_file=t
+ ;;
+*)
+ single_file=f
+ ;;
+esac
+
+result=0
+for file do
+ # We don't list the file name when there is only one.
+ test $single_file = t || echo "${file}:"
+ case $file in
+ */*) :
+ ;;
+ *) file=./$file
+ ;;
+ esac
+ if test ! -e "$file"; then
+ echo "ldd: ${file}:" $"No such file or directory" >&2
+ result=1
+ elif test ! -f "$file"; then
+ echo "ldd: ${file}:" $"not regular file" >&2
+ result=1
+ elif test -r "$file"; then
+ RTLD=
+ ret=1
+ for rtld in ${RTLDLIST}; do
+ if test -x $rtld; then
+ verify_out=`${rtld} --verify "$file"`
+ ret=$?
+ case $ret in
+ [02]) RTLD=${rtld}; break;;
+ esac
+ fi
+ done
+ case $ret in
+ 0|2)
+ try_trace "$RTLD" "$file" || result=1
+ ;;
+ 1|126)
+ # This can be a non-ELF binary or no binary at all.
+ nonelf "$file" || {
+ echo $" not a dynamic executable"
+ result=1
+ }
+ ;;
+ *)
+ echo 'ldd:' ${RTLD} $"exited with unknown exit code" "($ret)" >&2
+ exit 1
+ ;;
+ esac
+ else
+ echo 'ldd:' $"error: you do not have read permission for" "\`$file'" >&2
+ result=1
+ fi
+done
+
+exit $result
+# Local Variables:
+# mode:ksh
+# End:
diff --git a/src/initramfs/rootfs/usr/bin/less b/src/initramfs/rootfs/usr/bin/less
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/less
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/logger b/src/initramfs/rootfs/usr/bin/logger
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/logger
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/lspci b/src/initramfs/rootfs/usr/bin/lspci
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/lspci
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/lsusb b/src/initramfs/rootfs/usr/bin/lsusb
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/lsusb
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/lzcat b/src/initramfs/rootfs/usr/bin/lzcat
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/lzcat
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/lzma b/src/initramfs/rootfs/usr/bin/lzma
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/lzma
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/lzmacat b/src/initramfs/rootfs/usr/bin/lzmacat
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/lzmacat
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/md5sum b/src/initramfs/rootfs/usr/bin/md5sum
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/md5sum
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/nc b/src/initramfs/rootfs/usr/bin/nc
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/nc
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/nmeter b/src/initramfs/rootfs/usr/bin/nmeter
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/nmeter
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/nslookup b/src/initramfs/rootfs/usr/bin/nslookup
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/nslookup
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/openvt b/src/initramfs/rootfs/usr/bin/openvt
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/openvt
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/pkill b/src/initramfs/rootfs/usr/bin/pkill
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/pkill
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/printf b/src/initramfs/rootfs/usr/bin/printf
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/printf
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/readahead b/src/initramfs/rootfs/usr/bin/readahead
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/readahead
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/readlink b/src/initramfs/rootfs/usr/bin/readlink
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/readlink
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/realpath b/src/initramfs/rootfs/usr/bin/realpath
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/realpath
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/rpm2cpio b/src/initramfs/rootfs/usr/bin/rpm2cpio
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/rpm2cpio
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/setsid b/src/initramfs/rootfs/usr/bin/setsid
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/setsid
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/smemcap b/src/initramfs/rootfs/usr/bin/smemcap
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/smemcap
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/sort b/src/initramfs/rootfs/usr/bin/sort
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/sort
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/strings b/src/initramfs/rootfs/usr/bin/strings
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/strings
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/tail b/src/initramfs/rootfs/usr/bin/tail
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/tail
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/telnet b/src/initramfs/rootfs/usr/bin/telnet
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/telnet
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/test b/src/initramfs/rootfs/usr/bin/test
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/test
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/tftp b/src/initramfs/rootfs/usr/bin/tftp
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/tftp
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/time b/src/initramfs/rootfs/usr/bin/time
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/time
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/timeout b/src/initramfs/rootfs/usr/bin/timeout
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/timeout
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/top b/src/initramfs/rootfs/usr/bin/top
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/top
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/tr b/src/initramfs/rootfs/usr/bin/tr
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/tr
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/ttysize b/src/initramfs/rootfs/usr/bin/ttysize
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/ttysize
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/uniq b/src/initramfs/rootfs/usr/bin/uniq
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/uniq
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/unlzma b/src/initramfs/rootfs/usr/bin/unlzma
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/unlzma
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/unxz b/src/initramfs/rootfs/usr/bin/unxz
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/unxz
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/uptime b/src/initramfs/rootfs/usr/bin/uptime
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/uptime
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/wc b/src/initramfs/rootfs/usr/bin/wc
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/wc
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/wget b/src/initramfs/rootfs/usr/bin/wget
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/wget
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/which b/src/initramfs/rootfs/usr/bin/which
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/which
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/whoami b/src/initramfs/rootfs/usr/bin/whoami
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/whoami
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/xargs b/src/initramfs/rootfs/usr/bin/xargs
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/xargs
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/xz b/src/initramfs/rootfs/usr/bin/xz
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/xz
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/bin/xzcat b/src/initramfs/rootfs/usr/bin/xzcat
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/bin/xzcat
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/lib/libbfd-2.20.1-system.20100303.so b/src/initramfs/rootfs/usr/lib/libbfd-2.20.1-system.20100303.so
new file mode 100644
index 00000000..ae24957b
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libbfd-2.20.1-system.20100303.so differ
diff --git a/src/initramfs/rootfs/usr/lib/libfusion-1.2.so.9 b/src/initramfs/rootfs/usr/lib/libfusion-1.2.so.9
new file mode 100644
index 00000000..1b8d84ea
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libfusion-1.2.so.9 differ
diff --git a/src/initramfs/rootfs/usr/lib/libgcc_s.so.1 b/src/initramfs/rootfs/usr/lib/libgcc_s.so.1
new file mode 100644
index 00000000..f893c04d
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libgcc_s.so.1 differ
diff --git a/src/initramfs/rootfs/usr/lib/libhal.so.1 b/src/initramfs/rootfs/usr/lib/libhal.so.1
new file mode 100644
index 00000000..8db463f0
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libhal.so.1 differ
diff --git a/src/initramfs/rootfs/usr/lib/libhd.so.16 b/src/initramfs/rootfs/usr/lib/libhd.so.16
new file mode 100644
index 00000000..3fd68f29
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libhd.so.16 differ
diff --git a/src/initramfs/rootfs/usr/lib/libm.so b/src/initramfs/rootfs/usr/lib/libm.so
new file mode 120000
index 00000000..6c7b429c
--- /dev/null
+++ b/src/initramfs/rootfs/usr/lib/libm.so
@@ -0,0 +1 @@
+/lib/libm.so.6
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/lib/libpcre.so.3 b/src/initramfs/rootfs/usr/lib/libpcre.so.3
new file mode 100644
index 00000000..d11113bb
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libpcre.so.3 differ
diff --git a/src/initramfs/rootfs/usr/lib/libz.so.1 b/src/initramfs/rootfs/usr/lib/libz.so.1
new file mode 100644
index 00000000..c1b51178
Binary files /dev/null and b/src/initramfs/rootfs/usr/lib/libz.so.1 differ
diff --git a/src/initramfs/rootfs/usr/sbin/brctl b/src/initramfs/rootfs/usr/sbin/brctl
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/brctl
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/chroot b/src/initramfs/rootfs/usr/sbin/chroot
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/chroot
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/dhcprelay b/src/initramfs/rootfs/usr/sbin/dhcprelay
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/dhcprelay
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/fbset b/src/initramfs/rootfs/usr/sbin/fbset
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/fbset
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/httpd b/src/initramfs/rootfs/usr/sbin/httpd
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/httpd
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/hwinfo b/src/initramfs/rootfs/usr/sbin/hwinfo
new file mode 100755
index 00000000..5dbe48a4
Binary files /dev/null and b/src/initramfs/rootfs/usr/sbin/hwinfo differ
diff --git a/src/initramfs/rootfs/usr/sbin/loadfont b/src/initramfs/rootfs/usr/sbin/loadfont
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/loadfont
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/rdate b/src/initramfs/rootfs/usr/sbin/rdate
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/rdate
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/setlogcons b/src/initramfs/rootfs/usr/sbin/setlogcons
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/setlogcons
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/rootfs/usr/sbin/udhcpd b/src/initramfs/rootfs/usr/sbin/udhcpd
new file mode 120000
index 00000000..f948f1a7
--- /dev/null
+++ b/src/initramfs/rootfs/usr/sbin/udhcpd
@@ -0,0 +1 @@
+../../bin/busybox
\ No newline at end of file
diff --git a/src/initramfs/scripts/bin/dhcpmkconfig b/src/initramfs/scripts/bin/dhcpmkconfig
new file mode 100755
index 00000000..fa01db75
--- /dev/null
+++ b/src/initramfs/scripts/bin/dhcpmkconfig
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2010 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
+# Universal (distro independent) IP configuration writer for busybox udhcpc
+# applet used within OpenSLX initramfs. The result is written to the
+# /etc/initramfs-setup file
+
+# script started twice by udhcpc, quit fast if no ip configuration present
+[ -z "$ip" ] && exit 0
+
+# heavy debugging output in level 3 and above ... and on 13
+#FIXME: DEBUGLEVEL is not propagated to this file (at least for Ubuntu)
+[ -z "$DEBUGLEVEL" ] && DEBUGLEVEL=0
+[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 8 -o $DEBUGLEVEL -eq 13 ] && \
+ set -x
+
+echo -e "# network configuration written by $0:" >/tmp/confviadhcp
+unset HOME IFS KCMDLINE DEBUGLEVEL MODPRV TERM BOOTIF BOOT_IMAGE \
+ infomsg mask lease interface cfgmsg cfgfile boot_file no_bootsplash
+# set the broadcast address if not delivered by dhcp
+[ -z "$broadcast" ] && \
+ broadcast=$(ipcalc -b $ip/$subnet|sed s/.*=//)
+set | sed \
+ -e "s,^P.*,,;s,ntpsrv,ntp_servers,;s,ip,clientip," \
+ -e "s,serverid,serverip,;s,subnet,subnet_mask," \
+ -e "s,router,gateway,;s,hostname,host_name," \
+ -e "s,domain,domain_name,;s,dns,domain_name_servers," \
+ -e "s,broadcast,broadcast_address,;s,dhc.*,,;/^$/d" \
+ -e "s,nissrv,nis_servers,;s,nisdomain_name,nis_domain," \
+ -e "s,wins,netbios_name_servers,;/OPTIND.*/d" >>/tmp/confviadhcp
+
+# generate a local /etc/resolv.conf (might overwrite the version from preboot)
+[ -n "$domain" ] && echo -e "search $domain\n" >/etc/resolv.conf
+test -n "$dns" && {
+ for name in $dns; do
+ echo nameserver $name >>/etc/resolv.conf;
+ done; }
+
diff --git a/src/initramfs/scripts/bin/hwautocfg b/src/initramfs/scripts/bin/hwautocfg
new file mode 100755
index 00000000..1f02892e
--- /dev/null
+++ b/src/initramfs/scripts/bin/hwautocfg
@@ -0,0 +1,299 @@
+#!/bin/sh
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2010 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
+# Universal (distro independent) hardware autoconfiguration script for
+# OpenSLX linux stateless clients, using SuSE hwinfo for configuration
+
+#############################################################################
+# pre part, load USB modules and start hardware detection pci
+base () {
+# avoid annoying error messages because of missing scripts
+for tool in /usr/sbin/acpidump \
+ /usr/bin/udevinfo \
+ /sbin/dmraid ; do
+ testmkd ${tool%/*}
+ echo -e "#!/bin/sh" >${tool}
+ chmod u+x ${tool}
+done
+# no kernel messages, switch on hotplug via /sbin/mdev
+echo "0 0 0 0" >/proc/sys/kernel/printk
+echo "/sbin/mdev" >/proc/sys/kernel/hotplug
+modprobe -a ${MODPRV} usbhid hid-bright 2>/dev/null &
+# check from vga= that the traditional framebuffer is needed e.g. for splashy
+# get information on the graphics adaptor if bootsplash or xserver plugins are
+# present and the new drm/kms infrastructure is present
+if strinfile "vga=" /proc/cmdline; then
+ ( modprobe -a vesafb fbcon 2>/dev/null
+ hwinfo --gfxcard >/etc/hwinfo.gfxcard ) &
+elif [ -e /etc/init-hooks/00-started/xserver.sh -o \
+ -e /etc/init-hooks/05--have-kernelvars/bootsplash.sh ] && \
+ [ -e /lib/modules/${KERNEL}/kernel/drivers/gpu ]; then
+ # check for the standard modules (single gpu, multiple connector only)
+ ( hwinfo --gfxcard >/etc/hwinfo.gfxcard
+ case $(cat /etc/hwinfo.gfxcard) in
+ *i915*)
+ modprobe -a ${MODPRV} i915 2>/dev/null
+ ;;
+ *intel*|*Intel*)
+ modprobe -a ${MODPRV} i810 i830 i915 2>/dev/null
+ ;;
+ *nvidia*|*NVidia*|*nouveau*)
+ modprobe ${MODPRV} nouveau 2>/dev/null
+ ;;
+ *radeon*|*Radeon*)
+ modprobe ${MODPRV} radeon 2>/dev/null
+ ;;
+ *mga*|*matrox*|*Matrox*)
+ modprobe ${MODPRV} mga 2>/dev/null
+ ;;
+ *)
+ modprobe -a ${MODPRV} r128 savage sis tdfx ttm via
+ ;;
+ esac
+ modprobe -a drm fbcon; mdev -s ) &
+fi
+
+# check and then load appropriate network card modules
+nwcardlist=$(echo ${slxconf_listnwmod}|sed "s/\ /|/g")
+# save results for later info and for Xen plugin when starting Xen VM
+hwinfo --netcard --usb-ctrl >/etc/hwinfo.netcard-usbctrl
+grep modprobe /etc/hwinfo.netcard-usbctrl | grep -E "$nwcardlist|hcd" | \
+ grep -v ehci | sed 's/.* Cmd: "//;s/"//' | sort -u >/etc/modprobe.base
+# virtio hack
+if [ $(grep -ic "virtio_pci" /etc/modprobe.base) -ge 1 ]; then
+ echo "modprobe virtio_net" >>/etc/modprobe.base
+fi
+sh /etc/modprobe.base; mdev -s
+
+# optimization possible: exclude network and usb base drivers from the
+# following list (bios detection for non-hwautocfg component)
+( hwinfo --pci >/etc/hwinfo.data; echo "read pci device list at $(sysup)" \
+ >/tmp/hwdataready ) &
+( usleep 100000 ; hwinfo --bios >/etc/hwinfo.bios ) &
+# for mounting partitions/devices with the "auto" option
+echo -e "ext3\next2\nreiserfs\nxfs\njfs\next4\nvfat" >/etc/filesystems
+# request a local block device for config and root filesystem (lbd://)
+if grep -iq '"lbd://' /proc/cmdline /etc/initramfs-setup; then
+ modprobe -a ${MODPRV} ehci_hcd usb-storage sd_mod
+ mdev -s
+fi
+return 0
+}
+
+#############################################################################
+# main part
+hwmain () {
+# activate the previously detected devices
+[ $DEBUGLEVEL -ge 2 ] || modloadbg=" >/dev/null 2>\&1"
+# check for rtc if not compiled directly into the kernel
+( [ -e /proc/driver/rtc ] || modprobe ${MODPRV} rtc-cmos ) &
+waitfor /tmp/hwdataready 10000
+sed '/Driver Info #1/,/Config Status:/d' \
+ /etc/hwinfo.data | grep modprobe | sed "s|.* Cmd: \"||;s|\"|$modloadbg|" \
+ | sort -u >/etc/modprobe.pci
+sh /etc/modprobe.pci
+mdev -s
+
+# bluetooth setup (start it later if present, depends on firmware availa-
+# bility, interpreted by servconfig)
+#( hwinfo --bluetooth >/etc/hwinfo.bt ) &
+
+# load harddisk driver and check for harddisk
+( grep -q -E "SCSI|SATA" /etc/hwinfo.data && modprobe ${MODPRV} sd_mod
+ grep -q -E "IDE" /etc/hwinfo.data && modprobe ${MODPRV} ide-disk
+ hwinfo --disk | sed -n "/Device File: /p" | \
+ sed -e "s|.*Device File: /dev/||;s| .*||" >/etc/hwinfo.disk
+ echo "disk detection finished at $(sysup)" >/tmp/diskready; ) &
+[ $DEBUGLEVEL -eq 21 ] && echo "** finished 2nd hwdetection at $(sysup)"
+
+# load disk/optical high level drivers
+modprobe ${MODPRV} ide-cd 2>/dev/null
+modprobe ${MODPRV} sr_mod 2>/dev/null
+modprobe ${MODPRV} ide-floppy 2>/dev/null
+mdev -s
+
+# load kernel module for ps2 mice and map the mousehandler to /dev/input/mice
+( [ -f /lib/modules/${KERNEL}/kernel/drivers/input/mouse/psmouse.ko ] && \
+ modprobe ${MODPRV} psmouse
+ [ -f /lib/modules/${KERNEL}/kernel/drivers/input/mousedev.ko ] && \
+ modprobe ${MODPRV} mousedev
+ testmkd /dev/input
+ mknod /dev/input/mice c 13 63 2>/dev/null
+ hwinfo --mouse >/etc/hwinfo.mouse ) &
+
+# complete the audio configuration and load the dummy module if no audio
+# hardware is present in the machine
+grep -q -E "Audio|sound" /etc/hwinfo.data || modprobe snd-dummy
+modprobe ${MODPRV} snd-pcm-oss
+modprobe ${MODPRV} snd-mixer-oss
+#ln -s /proc/sound/oss/sndstat /dev/sndstat
+
+[ $DEBUGLEVEL -eq 21 ] && echo "** finished most of module loading at $(sysup)"
+
+# scanner setup (fixme: to be checked)
+hwinfo --scanner >/etc/hwinfo.scanner
+[ -f /tmp/scanner-udev ] && cat /tmp/scanner-udev \
+ >>/mnt/etc/udev/rules.d/04-scanner.rules
+
+# parallel port setup
+modprobe ${MODPRV} parport_pc && modprobe ${MODPRV} ppdev
+
+# if any new device appeared up to now
+mdev -s
+return 0
+}
+#############################################################################
+# harddisk partition setup part
+disk () {
+# get idea of availabe harddisk partitions, put swap partitions into
+# (/mnt)/etc/fstab and format and mount partitions of type 44 (unknown)
+[ $DEBUGLEVEL -eq 21 ] && echo "** starting hdd stuff at $(sysup)"
+waitfor /tmp/diskready 20000
+if [ -s /etc/hwinfo.disk ] ; then
+ for hd in $(cat /etc/hwinfo.disk) ; do
+ fdisk -l /dev/$hd|sed -n "/^\/dev\//p" >/etc/disk.partition
+ for hdpartnr in $(cat /etc/disk.partition | \
+ sed -n -e "/ 82 /p"|sed -e "s/[[:space:]].*//") ; do
+ echo -e "$hdpartnr\tswap\t\tswap\t\tdefaults\t 0 0" >>/tmp/fstab
+ done
+ # we use special non assigned partition type (id44) for harddisk scratch
+ # space, thus no normal filesystem will be incidentally deleted or
+ # corrupted
+ for hdpartnr in $(cat /etc/disk.partition | \
+ sed -n -e "/ 44 /p"|sed -e "s/[[:space:]].*//") ; do
+ # check for supported filesystem and formatter
+ ( if diskfm $hdpartnr ; then
+ echo "$hdpartnr is mounted to /mnt/tmp at $(sysup)" >/tmp/tmpready
+ echo -e "$hdpartnr\t/tmp\t\tauto\t\tdefaults\t 0 0" >>/tmp/fstab
+ else
+ echo "formatting failed for some reason ($(sysup))" >/tmp/tmpready
+ fi ) &
+ part44=yes
+ break
+ done
+ # put detected linux partitions (83) into /etc/fstab with "noauto",
+ # special partition 45 (persistent scratch) to /var/scratch and 46
+ # to /var/openslx
+ for partid in 83 45 46 ; do
+ for hdpartnr in $(cat /etc/disk.partition | \
+ sed -n -e "/ ${partid} /p"|sed -e "s/[[:space:]].*//") ; do
+ mkdir -p /mnt/media/${hdpartnr#/dev/*} 2>/dev/null
+ if [ ${partid} -eq 83 ] ; then
+ echo -e "$hdpartnr\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto,\
+noexec\t 0 0" >>/tmp/fstab
+ elif [ ${partid} -eq 45 ] ; then
+ # if more than one id45 present, the latter ones are simply mounted
+ # over the previous (the mounts are postponed a bit via do_mnt to
+ # have the filesystem completely prepared)
+ echo -e "waitfor ${hdpartnr} 4000\n\
+ mount -t auto ${hdpartnr} /mnt/media/${hdpartnr#/dev/*}\n\
+ ln -sf /media/${hdpartnr#/dev/*} /mnt/var/scratch" >>/etc/do_mnt
+ echo -e "${hdpartnr}\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto\
+\t\t 0 0" >>/tmp/fstab
+ elif [ ${partid} -eq 46 ] ; then
+ # mount a home directory to (/mnt)/var/home
+ echo -e "waitfor ${hdpartnr} 4000\n\
+ mount -t auto ${hdpartnr} /mnt/media/${hdpartnr#/dev/*} \n\
+ test -d /mnt/media/${hdpartnr#/dev/*}/home && \
+ ln -sf /media/${hdpartnr#/dev/*} /mnt/var/home" >>/etc/do_mnt
+ echo -e "${hdpartnr}\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto\
+\t\t 0 0" >>/tmp/fstab
+ fi
+ done
+ done
+ # add
+ [ -f /etc/do_mnt ] && sed -e "1i. /etc/functions" -i /etc/do_mnt
+ done
+ # determine if tmp preparation should wait for format/mount or not
+ [ -z "$part44" ] && echo "finished at $(sysup)" >/tmp/tmpready
+else
+ echo "no harddisk found ( $(sysup) )" >/tmp/tmpready
+fi
+[ $DEBUGLEVEL -eq 21 ] && echo "** finished hdd stuff at $(sysup)"
+}
+
+#############################################################################
+# cleanup/finishing part
+finish () {
+mdev -s
+# mount filesystem parts (if any) requested in disk setup
+[ -f /etc/do_mnt ] && sh /etc/do_mnt &
+# remove unneeded disk and mouse drivers
+[ ! -s /etc/hwinfo.disk ] && rmmod sd_mod 2>/dev/null
+#grep -q " PS/2 " /etc/hwinfo.mouse || \
+# { rmmod psmouse 2>/dev/null; rm /dev/psaux 2>/dev/null; }
+# more sophistication possible :)
+# remove /sbin/mdev as not available in stage4
+echo >/proc/sys/kernel/hotplug
+return 0
+}
+
+#############################################################################
+# main script starts here
+
+# functions common for all distros
+. /etc/functions
+# functions common for all distros, messages contains all error and
+# info output
+. /etc/messages
+# load distro specific configuration variables and functions. distro
+# specific functions may overwrite functions defined in /etc/functions
+. /etc/distro-functions
+# source general slx and initramfs-setup settings
+. /etc/slxsystem.conf
+. /etc/initramfs-setup
+
+# script run timer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 21 ] && \
+ echo "** HW $1 setup started at $(sysup)"
+
+# heavy debugging output in level 3 and above and specific for 11
+[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 8 -o $DEBUGLEVEL -eq 11 ] && \
+ set -x
+
+case $1 in
+ # pre initialization: loading USB base and network adaptor modules,
+ # detection of other pci bus modules
+ base)
+ base
+ ;;
+ # main part of hardware setup of pci stuff
+ main)
+ hwmain
+ # main script run timer or debug information
+ [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 21 ] && \
+ echo "** HW main setup finished at $(sysup)"
+ echo "hwsetup main part finished at $(sysup)" >/tmp/hwcfg
+ ;;
+ # disk setup part (detecting general id82,83 and slx id44,45,46, formatting
+ # if required and mounting)
+ disk)
+ # try to enable compressed RAM SWAP
+ if modprobe ${MODPRV} ramzswap && [ -f /usr/bin/rzscontrol ] ; then
+ mdev -s
+ rzscontrol /dev/ramzswap0 --init
+ swapon /dev/ramzswap0
+ #hdswap="# disk swap disabled because of enabled compressed ramswap"
+ fi
+ # if disk action is not disabled
+ if [ "x${hw_local_disk}" != "xno" ] ; then
+ disk
+ else
+ echo "using harddisk switched off by hw_local_disk set to 'no' ( $(sysup) )" \
+ >/tmp/tmpready
+ fi
+ ;;
+ # remove unneeded kernel modules
+ finish)
+ finish
+ ;;
+esac
diff --git a/src/initramfs/scripts/bin/init-wrapper b/src/initramfs/scripts/bin/init-wrapper
new file mode 100755
index 00000000..57fcb8a0
--- /dev/null
+++ b/src/initramfs/scripts/bin/init-wrapper
@@ -0,0 +1,60 @@
+#!/bin/sh
+# Copyright (c) 2006..2010 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# wrapperscript for plugin init files
+#############################################################################
+
+# Get parameters
+init_file="$1"
+DEBUGLEVEL="$2"
+
+[ -z $DEBUGLEVEL ] && DEBUGLEVEL=0
+
+# How do the localization here? There is not yet a country-Variable
+. /etc/messages
+. /etc/functions
+. /etc/distro-functions
+
+# Configuration settings for this slx system's environment
+. /etc/slxsystem.conf 2>/dev/null
+
+# initramfs-setup configuration (common initial settings for all clients using
+# a certain InitRamFS generated by slxconfig-demuxer)
+[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
+
+# Initial
+testmkd /tmp/env
+
+if [ ! -f /tmp/env/base.sed ]; then
+ # Get environment and prepare as sed command
+ pre_env_base=$(env | sed -e 's/^\([^=]*\).*/\1/' | tr '\n' ';')
+ pre_env_base=$(echo $pre_env_base| sed -e 's/;/\.\*\/\/;s\/\^/g')
+ pre_env_base="s/^$pre_env_base//;"
+ $(echo $pre_env_base > /tmp/env/base.sed)
+else
+ pre_env_base=$(cat /tmp/env/base.sed)
+fi
+
+# Load temporary environments
+[ -f /tmp/env/wrapper.env ] && . /tmp/env/wrapper.env
+
+[ "${DEBUGLEVEL}" -eq 15 ] && set -x
+[ -f $init_file ] && . $init_file
+[ "${DEBUGLEVEL}" -eq 15 ] && set +x
+
+# Remove already known environment variables from postenv
+#env |sed -e $pre_env_base | sort -u | \
+# Store the environment for re-initialization in runinithook function
+env | grep -v -E "debug|DEBUGLEVEL" | sort -u | \
+ sed "1s|.*|# generated by init-wrapper; last changed by $init_file|" | \
+ sed -e 's/^\([^=]*\)=\(.*\)/export \1="\2"/' \
+ > /tmp/env/wrapper.env
+
diff --git a/src/initramfs/scripts/bin/servconfig b/src/initramfs/scripts/bin/servconfig
new file mode 100755
index 00000000..1248918e
--- /dev/null
+++ b/src/initramfs/scripts/bin/servconfig
@@ -0,0 +1,308 @@
+#!/bin/sh
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2010 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
+# universal (distro independent) configuration script for OpenSLX linux
+# diskless clients (executed in stage3 within initial ramfs). The file-
+# system setup is completed when servconfig starts
+
+#############################################################################
+# check for configuration files to source
+
+# functions common for all distros, messages contains all error and
+# info output
+. /etc/messages
+. /etc/functions
+# load distro specific configuration functions. Distro specific functions may
+# overwrite functions defined in /etc/functions
+. /etc/distro-functions
+. /etc/slxsystem.conf
+
+# load variables defined by plugins
+[ -f /tmp/env/wrapper.env ] && . /tmp/env/wrapper.env
+
+# script run timer
+[ $DEBUGLEVEL -eq 8 ] && echo "** SW setup started at $(sysup)"
+
+# heavy debugging output in level 3 and below 8 ...
+[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 8 -o $DEBUGLEVEL -eq 12 ] && \
+ set -x
+
+#############################################################################
+# read and unify configuration options - default configuration file, from
+# dhcp, ldap ...
+# wait for the appearance of configuration from several sources
+cfgcomplete
+. /etc/initramfs-setup
+[ $DEBUGLEVEL -eq 8 ] && echo "** Config info is complete at $(sysup)"
+
+# copy additional configuration and var files and directories
+# admins can place there files in /var/lib/openslx/config/...
+# to be packed during stage2 into (/srv/dxs)/tftpboot/client-config...)
+cp -a /rootfs/* /mnt 2>/dev/null
+
+# copy passwd, group files for temporarily (within stage3 configuration) used
+# by chown
+cp /mnt/etc/passwd /etc
+cp /mnt/etc/group /etc
+
+# set greeting and add information on booted system
+len=$(expr length ${SLXVERSION}${SYSTEM_NAME})
+if [ $len -le 28 ] ; then
+ vdstr="Stateless Workstation (V${SLXVERSION}/${SYSTEM_NAME})"
+ smax=28
+else
+ vdstr="V${SLXVERSION}/${SYSTEM_NAME}"
+ smax=52
+fi
+while [ $len -le $smax ] ; do
+ vdstr="$vdstr "
+ len=$(($len + 1))
+done
+len=$(expr length ${host_name})
+while [ $len -le 30 ] ; do
+ space="$space "
+ len=$(($len + 1))
+done
+echo "
+ WELCOME TO $space \n (\l)
+ _____ ______ ______ __ __ _______ __ __ __
+ / _ | _ | ___| | | | | ____| | | | | |
+ | | | | |_| | |_ | | | | |___ | | / /
+ | | | | ___/| _| | | ____ | | | |
+ | |_| | | | |___| | | | ____| | |___ / /
+ _____/|__| |______|__| |__| |_______|______|__| |__|
+
+ $vdstr (c)
+" >/mnt/etc/issue
+
+#############################################################################
+# set localization and add entries to initialize keytable and consolefont to
+# boot.slx
+if [ -z "${country}" ] ; then
+ error "$scfg_country" nonfatal
+ country="us"
+fi
+# do localization (this functions simply sets a list of variables)
+localization "${country}"
+# start distrospecific localization
+dlocale
+
+#############################################################################
+# setup passwd and shadow for local system users like root, bin, daemon and
+# nobody if no user/admin provided passwd exists ... fixme: see #206
+[ ! -e /rootfs/etc/shadow ] && \
+ basepasswd $(sed "/+::0/d;s/root://;s/:.*//" /rootfs/etc/shadow 2>/dev/null)
+
+#############################################################################
+# dns and ip configuration
+# hostname of the machine
+echo "$host_name" >/proc/sys/kernel/hostname
+echo -e "# /etc/hosts - file generated by $0 during OpenSLX stage3\
+\n#\n# IP-Address Full-Qualified-Hostname Short-Hostname\n#\n\
+127.0.0.1\tlocalhost\n::1\t\tlocalhost ipv6-localhost ipv6-loopback\n\
+fe00::0\t\tipv6-localnet\nff00::0\t\tipv6-mcastprefix\nff02::1\
+\t\tipv6-allnodes\nff02::2\t\tipv6-allrouters\nff02::3\t\t\
+ipv6-allhosts\n" >/mnt/etc/hosts
+if [ -n "${domain_name}" ]; then
+ echo -en "${clientip}\t" >>/mnt/etc/hosts
+ for name in ${domain_name}; do
+ echo -en "${host_name}.${name} " >>/mnt/etc/hosts
+ done
+ echo -e "${host_name}" >>/mnt/etc/hosts
+else
+ echo -e "${clientip}\t${host_name}" >>/mnt/etc/hosts
+fi
+# set up domainname and resolving
+rm -rf /mnt/etc/resolv.conf
+test -n "${domain_name}" && \
+ echo -e "# /etc/resolv.conf - file generated by\n#\t$0:\n\
+#\t${date}\n#options timeout:1 attempts:1 rotate\n\
+search "${domain_name} >/mnt/etc/resolv.conf
+test -n "${domain_name_servers}" && {
+ for name in ${domain_name_servers}; do
+ echo nameserver ${name} >>/mnt/etc/resolv.conf;
+ done; }
+
+#############################################################################
+# run distro specific configuration function
+config_distro
+
+#############################################################################
+# basic (non network) services
+
+# at daemon - calling distro specific function config_atd
+config_atd
+
+# configuration of cron services - calling distro specific function
+# config_cron (runlevel links, directories, ...)
+config_cron
+
+# setup system log services - distro dependent function config_syslog
+config_syslog
+
+# acpi and powersave - distro dependent function config_acpi, these daemons
+# might require dbus
+config_acpi
+
+# configure udev
+config_udev
+
+# configure dbus - distro dependent function config_dreshal - handle
+# all stuff regarding dependent services like dbus, resmgr, hal ...
+# (check for runlevel scripts, passwd entries, directories ...)
+config_dreshal
+
+# configure automounter (should be moved to plugin)
+if [ "x$automnt" != "xno" ] ; then
+ # check if there is some user provided configuration (only auto.master is
+ # important) and skip automatic setup
+ if [ ! -f /rootfs/etc/auto.master ] ; then
+ if [ -d /mnt/misc ] ; then
+ echo -e "# /etc/auto.master - file generated by $0:\n\
+/misc\t/etc/auto.misc" >/mnt/etc/auto.master
+ echo -e "# /etc/auto.misc - file generated by $0:" >/mnt/etc/auto.misc
+ else
+ echo -e "# /etc/auto.master - file generated by $0:\n\
+/misc\t#/etc/auto.misc" >/mnt/etc/auto.master
+ echo -e "# /etc/auto.misc - file generated by $0:\nautomount for \
+removable devices is mostly deprecated, so /misc is not\nactivated in \
+auto.master." >/mnt/etc/auto.misc
+ fi
+ if [ -n "${automnt_src}" ] ; then
+ # local directory and home directory server from initialramfs-setup
+ [ -z "${automnt_dir}" ] && automnt_dir="/home"
+ # remove leading and trailing slash
+ automnt_dir=${automnt_dir#/}
+ automnt_dir=${automnt_dir%/}
+ test -d /${automnt_dir} || error "$scfg_erradir" nonfatal
+ amserv=$(uri_token $automnt_src server)
+ ampath=$(uri_token $automnt_src path)
+ amdirn=$(echo ${automnt_dir}|sed "s,/,_,g")
+ echo -e "/${automnt_dir}\t/etc/auto.${amdirn}\n" \
+ >> /mnt/etc/auto.master
+ echo -e "# /etc/auto.${amdirn} created by $0:\n" \
+ > /mnt/etc/auto.${amdirn}
+ # add '/' to path because uri_token removes any leading '/' (s. function)
+ echo -e "*\t-rsize=32768,wsize=32768,rw\t${amserv}:/${ampath}/&" \
+ >> /mnt/etc/auto.${amdirn}
+ # no tempfs needed if automounter operates on /home
+ [ "${automnt_dir}" = "home" ] && umount -t tmpfs /mnt/home 2>/dev/null
+ # portmapper is needed for remote NFS sources and local nfs directories
+ testmkd /mnt/var/lib/nfs/state
+ config_portmap
+ fi
+ fi
+ config_automount
+fi
+
+# configure print services / start requested printer daemon
+config_printer
+
+# configure bluetooth services
+#[ -s /etc/hwinfo.bt ] if existance of bt devices should play any role
+config_bt
+
+#############################################################################
+# network(ed) services
+
+if [ -n "$ntp_servers" ]; then
+ # rdate uses the time protocol (port 37 which is not the ntp standard port)
+ # thus not every standard ntp-server might offer this service)
+ ( rdate -s "$ntp_servers" 2>/dev/null || error "$scfg_rdate" nonfatal
+ hwclock -w ) &
+fi
+
+# network time service (ntp) configuration file
+if [ -n "$ntp_servers" -a ! -f /rootfs/etc/ntp.conf ]; then
+ echo -e "# /etc/ntp.conf - file generated by $0: \
+$date\n" >/mnt/etc/ntp.conf
+ for name in $ntp_servers; do
+ echo server $name >>/mnt/etc/ntp.conf
+ done
+fi
+# copy timezone file defined with language settings
+[ -z "$TZ" ] && TZ="$timezone"
+ln -snf /usr/share/zoneinfo/${TZ} /mnt/etc/localtime || \
+ error "$scfg_ntptz" nonfatal
+config_ntp
+
+# secure shell server - at the moment all clients share one "secret"
+# key or the key has to be regenerated on every bootup or fetched on
+# every bootup from somewhere
+config_sshd
+
+# simple network management protocol agent
+config_snmp
+
+# configure samba service
+config_samba
+
+#############################################################################
+# NIS (variable typically fetched via dhcp)
+# setup nis configuration if needed
+if [ "x$nis_domain" != "x" -a "x$nis_servers" != "x" ] ; then
+ echo $nis_domain >/mnt/etc/defaultdomain
+ echo -e "# /etc/yp.conf - file generated by $0:\n#\t\
+$date\n\nypserver "$nis_servers >/mnt/etc/yp.conf
+ config_nis
+fi
+
+#############################################################################
+# name service caching daemon if networked user database
+config_nscd
+
+#############################################################################
+# preparation of /tmp directory (partition 44, nfs scratch, ramdisk). there
+# might be the chance that we have a disk partition available, so wait for
+# completion of detection, setup process
+[ $DEBUGLEVEL -eq 8 ] && echo "** Waiting for /tmp completion at $(sysup)"
+waitfor /tmp/tmpready 40000
+[ $DEBUGLEVEL -eq 8 ] && echo "** Setup of /tmp completed at $(sysup)"
+# create some directories and correct permissions
+tmpisdisk=$(sed -n '/\/tmp/p' /tmp/fstab 2>/dev/null)
+# if there is no local disk partition for /tmp then try to mount a rw
+# scratch space (if defined in $scratch) and prepared on server
+if [ -n "$scratch" -a -z "$tmpisdisk" ] ; then
+ scrproto=$(uri_token $FILESRC prot)
+ scrpath=$(uri_token $FILESRC path)
+ testmkd /tmp/scratch
+ # exports have to be per client!!
+ case "$scrproto" in
+ nbd)
+ :
+ ;;
+ *)
+ tmpserv=$(uri_token $scratch server)
+ tmppath=$(uri_token $scratch path)
+ # hanging mount processes might stop further setup - timeout
+ # should be configured ...
+ # fsmount proto server path target options
+ fsmount nfs ${tmpserv} ${tmppath} /tmp/scratch \
+ "rw,intr,soft,timeo=2,nosuid" && {
+ if [ -d /tmp/scratch/${clientip} ] ; then
+ mv /tmp/scratch/${clientip} /tmp/scratch/${clientip}.totrash
+ rm -rf /tmp/scratch/${clientip}.totrash 2>/dev/null &
+ fi
+ testmkd /tmp/scratch/${clientip}
+ # no need for tempfs there ...
+ umount /mnt/tmp >/dev/null 2>&1
+ fsmount nfs ${tmpserv} ${tmppath} /mnt/tmp \
+ "rw,intr,soft,timeo=2,nosuid"; }
+ ;;
+ esac
+fi
+
+# script run timer
+[ $DEBUGLEVEL -eq 8 ] && echo "** SW setup finished at $(sysup)"
+
+# servconfig finished successfully
+echo "servconfig finished at $(sysup)" > /tmp/svcfg
diff --git a/src/initramfs/scripts/etc/functions b/src/initramfs/scripts/etc/functions
new file mode 100644
index 00000000..066d2756
--- /dev/null
+++ b/src/initramfs/scripts/etc/functions
@@ -0,0 +1,1034 @@
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2009 - OpenSLX GmbH
+#
+# This program/file is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# Common functions file for the configuration of linux diskless clients
+# (included by init, hwautocfg, servconfig, ... within OpenSLX initialramfs)
+
+#############################################################################
+# set of empty dummy functions (loaded before real functions in the
+# distro specific files - to have no undeclared function in init, serv-
+# config, hwautocfg, ...)
+
+# distro specific funtion called at the beginning of init script
+preinit () {
+:
+}
+# distro specific funtion called at the end of init script
+postinit () {
+:
+}
+# distro specific general function called from servconfig script
+config_distro () {
+:
+}
+# setup netconsole
+config_netconsole () {
+:
+}
+
+#############################################################################
+# produce error message and if $2 is empty run (debug) shell
+error () {
+local e_msg="$1"
+# set LOGFILE if not defined
+[ -z "${LOGFILE}" ] && LOGFILE="/dev/null"
+# if nonfatal error else fatal error message and shell
+if [ -n "$2" ] ; then
+ [ "$DEBUGLEVEL" -ge 1 -a "$DEBUGLEVEL" != 8 ] && \
+ echo -e "${error_msg}${e_msg}${error_nfe}" >> ${LOGFILE}
+ [ "$DEBUGLEVEL" -gt 1 -a "$DEBUGLEVEL" != 8 ] && \
+ echo -e "${error_msg}${e_msg}${error_nfe}"
+ [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && usleep 10
+else
+ echo -e "${error_msg}${e_msg}${error_shell}"
+ /bin/sh
+ echo -n "Reboot now? [y] (nothing happens here at the moment)"
+ exec < /dev/console > /dev/console
+ #input="y"
+ #read input
+ #[ -z "$input" -o "$input" = "y" -o "$input" = "Y" ] && {
+ # sleep 4
+ # [ -f /proc/sysrq-trigger ] || mount -t proc none /proc
+ # echo "b" > /proc/sysrq-trigger
+ #}
+fi
+}
+#############################################################################
+# system uptime for performance analysis
+sysup () {
+uptime=$(sed -e "s, .*,," /proc/uptime)
+echo "${uptime} s."
+# if start times are kept, a summary of runtimes would be possible too
+}
+#############################################################################
+# (re)generate dynamic linked libraries cache from /etc/ld.so.conf
+ldcfg () {
+[ -n "${ldsc}" ] && echo -e "$init_ldcfg" && ldconfig /tmp/ld.so.cache &
+}
+#############################################################################
+# URI interpreter $1 variable to interprete, $2 type of token to return
+# prot: tftp, http, nbd, ... server: IP or FQDN
+uri_token () {
+local var=$1
+local prot
+local rest
+local server
+local path
+local port
+local tmpval
+local query=""
+# first check if URI starts with prot:// - URI scheme
+if strinstr "://" "$1" ; then
+ prot=${var%://*}
+ rest=${var#*://}
+else
+ rest="$var"
+ prot=""
+fi
+# remove temporary '::' from path, since it conflicts with port specification
+# ticket #232
+if strinstr "::" "$rest" ; then
+ rest=$(echo $rest | sed -e 's,::,§§§§§,g')
+elif strinstr "\:\:" "$rest" ; then
+ rest=$(echo $rest | sed -e 's,\:\:,§§§§§,g')
+fi
+# get the server IP or name and port - URI authority
+# you get the path or other token without leading "/" - add it later if
+# needed (fixme: port might be broken)
+if strinstr ":" "$rest" ; then
+ server="${rest%:*}"
+ rest="${rest#*:}"
+ path="${rest#*/}"
+ port="${rest%/$path}"
+else
+ tmpval=$rest
+ rest="${rest#*/}"
+ server="$(echo $tmpval|sed 's,/.*,,')"
+ path="${tmpval#${server}}"
+ port=""
+fi
+# get path and query components - URI path, query
+if strinstr "\?" "$rest" ; then
+ path="${path%\?*}"
+ query="${rest#*\?}"
+fi
+# return the requested token
+case "$2" in
+ prot) echo "$prot" ;;
+ server) echo "$server" ;;
+ # add '::' again to path, remove duplicate "//"
+ path) echo "$path" | sed -e 's,§§§§§,\:\:,g;s,//,/,' ;;
+ port) echo "$port" ;;
+ query) echo "$query" ;;
+esac
+}
+#############################################################################
+# mounter for different file sources
+fsmount () {
+local proto=$1
+local server=$2
+local srcpath=$3
+local target=$4
+local mntopt=$5
+local transport
+testmkd ${target}
+case "${proto}" in
+ *nbd)
+ # TODO: to be filled in ...
+ ;;
+ lbdev)
+ # we expect the stuff on toplevel directory, filesystem type should be
+ # autodetected here ... (vmimgserv is blockdev here)
+ vmbdev=/dev/${server}
+ waitfor ${vmbdev} 20000
+ mount -o ro ${vmbdev} ${target} || error "$scfg_evmlm" nonfatal
+ ;;
+ nfs)
+ # we expect nfs mounts here ... check that nfs module is loaded before
+ cat /proc/filesystems | grep -q -E "[[:space:]]nfs" || \
+ { modprobe ${MODPRV} nfs 2>/dev/null || error "$error_nfsmod" nonfatal; }
+ for transport in tcp udp fail; do
+ [ $transport = "fail" ] && { error "$init_nfs" nonfatal;
+ noimg=yes; break;}
+ mount -n -t nfs -o ${mntopt},nolock,${transport} \
+ ${server}:${srcpath} ${target} && break
+ done
+ ;;
+ smb|cifs)
+ # cifs mounts might be problematic if accessed with superuser id
+ mount -n -o ${mntopt},user=guest,guest,file_mode=0755,dir_mode=0755 \
+ -t ${proto} //${server}${srcpath} ${target}
+ #d_mkrlscript entry boot.slx "/opt/openslx/uclib-rootfs/bin/mount -n \
+ #-o ${mntopt},guest,user=guest,file_mode=0755,dir_mode=0755 -t ${proto} \
+ #//${server}${srcpath} ${target#/mnt}"
+ ;;
+esac
+}
+#############################################################################
+# replace @@@serverip@@@ with real serverip. Allows the usage of a variable
+# for the server ip address (e.g. in machine-setup or kernel commandline)
+checkip ()
+{
+if [ "@@@serverip@@@" = "$1" -a -n "$serverip" ] ; then
+ echo $serverip
+else
+ echo $1
+fi
+}
+#############################################################################
+# replacement for which command to find executables inside stage4 rootfs
+binfinder()
+{
+local program="$1"
+local s4path
+local notfound=1
+for s4path in bin sbin usr/bin usr/sbin usr/local/bin \
+ usr/local/sbin usr/bin/X11; do
+ if [ -f "/mnt/$s4path/$program" ] && \
+ [ -x "/mnt/$s4path/$program" ]; then
+ printf '%s\n' "/$s4path/$program"
+ notfound=0
+ break
+ fi
+done
+return $notfound
+}
+#############################################################################
+# disk formatter and mounter. some proper error message output should be
+# added. It uses programs invoked from stage 4 root filesystem. First
+# argument is blockdev or file to be formatted, second mountpoint if not
+# /mnt/tmp (default)
+diskfm () {
+local target=$1
+local mntpnt=$2
+local fs
+local path
+[ -f /lib/ld-linux.so.2 ] || ln -s /mnt/lib/ld-linux.so.2 /lib/ld-linux.so.2
+for fs in xfs reiserfs ext2 ; do
+ if strinfile "$fs" /proc/filesystems || modprobe ${MODPRV} $fs ; then
+ unset $found
+ for path in /sbin /bin /usr/sbin /usr/bin ; do
+ if test -x /mnt/$path/mkfs.$fs ; then
+ found=yes
+ case mkfs.$fs in
+ mkfs.xfs)
+ fopt="-f"
+ mopt="-o noexec"
+ ;;
+ mkfs.ext2)
+ fopt="-Fq"
+ mopt="-o nocheck,noexec"
+ ;;
+ mkfs.reiserfs)
+ fopt="-f"
+ mopt="-o noexec"
+ ;;
+ esac
+ LD_LIBRARY_PATH=/mnt/lib /mnt/$path/mkfs.$fs $fopt $target \
+ >/dev/null 2>&1 #|| error
+ if [ -z $mntpnt ] ; then
+ umount /mnt/tmp 2>/dev/null
+ if mount -t $fs -n $mopt $target /mnt/tmp 2>/dev/null; then
+ return 0
+ else
+ mount -n -t tmpfs none /mnt/tmp
+ fi
+ else
+ testmkd $mntpnt
+ mount -t $fs -n -o loop $target $mntpnt 2>/dev/null
+ return 0
+ fi
+ fi
+ done
+ [ -z $found ] && continue
+ else break
+ fi
+done
+}
+
+#############################################################################
+# dhcp client function
+rundhcp ()
+{
+local vci="$1"
+# ensure the interface is up - might produce conflicts - nbd could fail!!
+# fixme: really needed?
+# [ -n "$noipyet" ] && ip link set dev $nwif up
+[ -f /lib/modules/${KERNEL}/kernel/net/packet/af_packet.ko ] && \
+ modprobe ${MODPRV} af_packet
+echo "Starting udhcpc for IP configuration"
+mkdir /var/lib/dhcp >/dev/null 2>&1
+[ -n $vci ] && vci="-V $vci"
+testmkd /usr/share/udhcpc
+ln -sf /bin/dhcpmkconfig /usr/share/udhcpc/default.script
+# see for options.c file in udhcp subdir of busybox for accepted "-O option"
+udhcpc -O nissrv -O nisdomain -t 8 -q $vci \
+ -s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
+}
+
+#############################################################################
+# function for retrieving configuration file (machine-setup) via tftp from a
+# predefined server or given source (file=tftp-server:/path via kernel
+# command line)
+unpack () {
+# $1 is config file name to get, $2 IP of server to get file from
+local dst=$1
+if [ -s $dst ] ; then
+ # fixme: handle different types of packaging (gzip/bzip2)??
+ if ! tar -xpzf $dst 2> /tmp/ConfTGZ-tar-error ; then
+ cat /tmp/ConfTGZ-tar-error
+ error "$unpack_ConfTGZ" nonfatal
+ rm /tmp/ConfTGZ-tar-error
+ fi
+ [ "$DEBUGLEVEL" -le 2 -o "$DEBUGLEVEL" -eq 8 ] && rm $dst
+ return 0
+else
+ return 1
+fi
+}
+
+# tftp wrapper
+# usage tftp_get [count]
+# count is optional - default is 3 - use -1 for indefinit
+tftp_get () {
+ local file="$1"
+ local file_server="$2"
+ local download_successful=0
+ local countdown="$3"
+
+ if [ -z "$1" -o -z "$2" ]; then
+ [ $DEBUGLEVEL -ge 1 ] && \
+ echo "[tftp_get] Usage: tftp_get [count]"
+ return 1;
+ fi
+
+ [ "$countdown" = "" ] && countdown=3
+
+ until [ $download_successful -eq 1 ]
+ do
+ if [ "$countdown" = "0" ]; then
+ [ $DEBUGLEVEL -ge 1 ] && \
+ echo "[tftp_get] download of \"$file\" from \"$file_server\" ... failed"
+ return 0;
+ fi
+ tftp -g -r $file -l /tmp/$(basename $file) $file_server
+ [ -s /tmp/$(basename $file) ] && download_successful=1
+ countdown=$(expr $countdown - 1)
+ usleep 200000
+ done
+ [ $DEBUGLEVEL -ge 1 ] && \
+ echo "[tftp_get] download of \"$file\" from \"$file_server\" ... successful"
+ return 0;
+}
+
+
+# wget wrapper
+# usage wget_get [count]
+# count is optional - default is 3 - use -1 for indefinit
+wget_get () {
+ local file="$1"
+ local file_server="$2"
+ local download_successful=0
+ local countdown="$3"
+
+ if [ -z "$1" -o -z "$2" ]; then
+ [ $DEBUGLEVEL -ge 1 ] && \
+ echo "[wget_get] Usage: wget_get [count]"
+ return 1;
+ fi
+
+ [ "$countdown" = "" ] && countdown=3
+
+ until [ $download_successful -eq 1 ]
+ do
+ if [ "$countdown" = "0" ]; then
+ [ $DEBUGLEVEL -ge 1 ] && \
+ echo "[wget_get] download of \"$file\" from \"$file_server\" ... failed"
+ return 0;
+ fi
+ wget -q $file_server$file -O /tmp/$(basename $file)
+ [ -s /tmp/$(basename $file) ] && download_successful=1
+ countdown=$(expr $countdown - 1)
+ usleep 200000
+ done
+ [ $DEBUGLEVEL -ge 1 ] && \
+ echo "[wget_get] download of \"$file\" from \"$file_server\" ... successful"
+ return 0;
+}
+
+
+fileget () {
+# normally tftp would be used, alternatively use wget for ftp or http
+# if local device file is specified - mount and unmount after copying
+local cfgfile
+[ "x$fileprot" = "x" ] && fileprot=tftp
+if [ "x$filepath" != "x" ] ; then
+ cfgfile=${filepath}
+ [ "x$fileserv" = "x" ] && fileserv=$(checkip ${serverip})
+ # wait for dns if "fileserv" is a name and not lbd device
+ [ "$fileprot" != "lbd" ] && \
+ echo ${fileserv} | grep -qi [a-z] && waitfor /tmp/dhcp-done 10000
+ [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\
+$filepath, fileserv:$fileserv" >>$LOGFILE
+ case "$fileprot" in
+ ftp|http)
+ wget_get $cfgfile $fileprot://$fileserv \
+ && { unpack /tmp/$(basename $cfgfile) && break; } 2>>$LOGFILE
+ ;;
+ lbd)
+ local ldev=$fileserv
+ echo "Waiting for configuration file ${cfgfile} ...."
+ [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\
+$filepath, fileserv:$fileserv" >>$LOGFILE
+ waitfor /mnt/${cfgfile} 10000
+ if [ -f /mnt/${cfgfile} ]; then
+ unpack /mnt/$cfgfile
+ else
+ error "$init_errlfg"
+ fi
+ ;;
+ *)
+ tftp_get $cfgfile $fileserv \
+ && unpack /tmp/$(basename $cfgfile) 2>>$LOGFILE
+ ;;
+ esac
+else
+ # predefined value for OpenSLX environment; it is expected that this
+ # directory is just below the tftpboot (path to which the daemon is
+ # restricted to)
+ filepath="client-config"
+ [ "x$fileserv" = "x" ] && fileserv=$(checkip ${serverip})
+ [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\
+$filepath, fileserv:$fileserv" >>$LOGFILE
+ # try to get configuration files successively; start with distro client
+ # and try last distro default ...
+ mac=$(echo $macaddr|sed "s/:/-/g")
+ for cfgfile in ${filepath}/${SYSTEM_NAME}/01-$mac.tgz \
+ ${filepath}/${SYSTEM_NAME}/default.tgz ; do
+ case "$fileprot" in
+ ftp|http)
+ wget $fileprot://$fileserv/$cfgfile -O /tmp/$(basename $cfgfile) \
+ 2>>$LOGFILE && { unpack /tmp/$(basename $cfgfile) && break; }
+ ;;
+ tftp)
+ tftp_get $cfgfile $fileserv \
+ 2>>$LOGFILE && { unpack /tmp/$(basename $cfgfile) && break; }
+ ;;
+ esac
+ done
+ echo -e "\n## Configuration via fileget from ${fileprot}://${fileserv}/\
+${cfgfile}\n# Hierarchy is distro client and as last distro/default" \
+ >>/tmp/confviafile
+fi
+cat /initramfs/machine-setup >>/tmp/confviafile 2>/dev/null || \
+ error "$nomachsetup"
+echo "fileget via $fileprot from $fileserv/$cfgfile finished" >/tmp/file-done
+[ $DEBUGLEVEL -ge 1 ] && echo "fileget from $cfgfile finished" >>$LOGFILE
+}
+
+#############################################################################
+# function for creating directories after testing of their existance avoids
+# to recreate directories in union mounts. If second and/or third parameters
+# are given check for permission patterns
+testmkd () {
+ test -d $1 || mkdir -p $1 >/dev/null 2>&1
+ [ $# -ge 2 ] && for i in "$2" "$3" ; do
+ echo "$i" | grep -q -E "^[0-9]{3,4}$" && chmod "$i" $1 >/dev/null 2>&1
+ echo "$i" | grep -q -E ":." && chown "$i" $1 >/dev/null 2>&1
+ done
+}
+
+#############################################################################
+# function for writing a syslog-ng.conf file. First parameter is absolute
+# destination (incl. /mnt prefix)
+# sysngwriter $dest $start_syslog
+sysngwriter () {
+local mysyslogngcfg=$1
+# logging servers might be specified in $log_servers (from e.g. dhcp)
+# fixme!? only first logserver from dhcp variable is used
+[ -n "$log_servers" ] && start_syslog="syslog://${log_servers% *}:514/udp"
+echo -e "# File written by $0 within InitRamFS\n\
+source src {\n\tfile(\"/proc/kmsg\");\n\
+\tunix-dgram(\"/dev/log\");\n\tinternal();\n};\ndestination console_all {\
+\n\tfile(\"/dev/tty10\");\n};" >$mysyslogngcfg
+case "$start_syslog" in
+ yes|Yes|YES)
+ echo -e "\nlog {\n\tsource(src);\n\tdestination(console_all);\n};" \
+ >>$mysyslogngcfg
+ ;;
+ file)
+ echo -e "destination allmessages {\n\tfile(\"/var/log/allmessages\");\n};\
+\nlog {\n\tsource(src); destination(allmessages);\n};" >>$mysyslogngcfg
+ ;;
+ *)
+ syslogsrv=$(uri_token $start_syslog server)
+ syslogport=$(uri_token $start_syslog port)
+ syslogprot=$(uri_token $start_syslog path)
+ [ -z ${syslogport} ] && syslogport=514
+ [ -z ${syslogprot} ] && syslogprot=udp
+ echo -e "destination loghost {\n\t${syslogprot}(\"${syslogsrv}\" \
+port(${syslogport}));\n};\nlog {\n\tsource(src);\n\tdestination(loghost);\n};"\
+ >>$mysyslogngcfg
+ ;;
+esac
+}
+
+#############################################################################
+# simple string in string search
+strinstr () {
+ case "$2" in *$1*) return 0;; esac
+ return 1
+}
+
+#############################################################################
+# simple string in file search, for the future grep should be used instead
+strinfile () {
+ case "$(cat $2)" in *$1*) return 0;; esac
+ return 1
+}
+
+#############################################################################
+# wait for a file to appear and stop after maxwait counts
+waitfor () {
+local file=$1
+local maxwait=$2
+local count=0
+[ -z $file ] && return 0
+[ -z $maxwait ] && maxwait=5000
+while [ ! -e $file ] ; do
+ usleep 1000
+ count=$(($count + 1))
+ [ $count -gt $maxwait ] && return 1
+done
+return 0
+}
+
+#############################################################################
+# ldconfig is needed if rootfilesystem is composed of several parts. Search
+# for ldconfig and execute it (we expect ldconfig not to be a dynamically
+# linked tool)
+# check that /mnt/etc/ld.so.conf is never lost
+ldconfig () {
+local cachefile="$1"
+for ldcfg in /mnt/sbin/ldconfig \
+ /mnt/bin/ldconfig \
+ /mnt/usr/sbin/ldconfig; do
+ test -x $ldcfg && {
+ $ldcfg -r /mnt -C $cachefile; break; }
+done
+echo "finished at $(sysup)" >/tmp/ldcfg
+}
+
+#############################################################################
+# base passwd/shadow, the standard user present in every system. All other
+# system users should be generated within the service function
+basepasswd () {
+# hack (see Ticket #206)
+root_pw="$1"
+# strip every line with userid between 500 and 99999 from the passwd
+# file
+sed '/^[a-zA-Z0-9]*:[a-zA-Z0-9]*:[1-9][0-9]\{3,4\}:/d;/^+:*/d;/^+$/d;
+ /^[a-zA-Z0-9]*:[a-zA-Z0-9]*:[5-9][0-9]\{2\}:/d' /mnt/etc/passwd \
+ >/tmp/newpasswd
+# and add user nobody again (is there a more elegant way?)
+sed -n -e '/nobody/p' /mnt/etc/passwd >>/tmp/newpasswd
+# create the shadow from passwd file
+echo -e "root:"${root_pw}":12958:0:10000::::" >/mnt/etc/shadow
+sed 's/:.*/:!:13078:0:99999:7:::/;/^root.*/d' /tmp/newpasswd \
+ >>/mnt/etc/shadow
+mv /tmp/newpasswd /mnt/etc/passwd
+chmod 0640 /mnt/etc/shadow
+}
+
+#############################################################################
+# wait for the completion of configuration file (machine-setup). It is
+# composed from different sources
+cfgcomplete () {
+waitfor /tmp/dhcp-done 10000 || error "$error_errdcfg" nonfatal
+waitfor /tmp/file-done 10000 || error "$error_errfcfg" nonfatal
+waitfor /tmp/ldap-done 10000 || error "$error_errlcfg" nonfatal
+# concatenate the different files now into the central config file, order
+# matters - ldap (not implemented yet) data has highest priority
+if ! test -f /tmp/cfgcomplete ; then
+ echo "## Stage3 configuration via initial/early /etc/initramfs-setup" \
+ >/etc/ext-initramfs-setup
+ for config in /etc/initramfs-setup /tmp/confviadhcp /tmp/confviafile \
+ /tmp/confvialdap
+ do test -f $config && cat $config >>/etc/ext-initramfs-setup
+ done
+# check again and replace @@@serverip@@@ and produce a final version for
+# stage4 (no much use, just debugging)
+sed "s,@@@serverip@@@,$serverip," -i /etc/ext-initramfs-setup
+. /etc/ext-initramfs-setup
+cp /etc/ext-initramfs-setup /mnt/etc/machine-setup
+mv /etc/ext-initramfs-setup /etc/initramfs-setup
+echo "config completed" >/tmp/cfgcomplete
+fi
+}
+
+#############################################################################
+# execute all shell scripts in the given init-hook folder
+runinithook () {
+local hook=$1
+echo "[openslx] run: $hook" > /dev/kmsg
+if [ -d /etc/init-hooks/$hook ]; then
+ for hook_script in /etc/init-hooks/$hook/*.sh; do
+ if [ -e $hook_script ]; then
+ /bin/init-wrapper $hook_script $DEBUGLEVEL
+ . /tmp/env/wrapper.env
+ fi
+ done
+fi
+}
+
+#############################################################################
+# localization simply derived from $language variable set in machine-setup or
+# other sources - mostly taken from knoppix
+localization () {
+country="$1"
+CONSOLE_FONT="lat9w-16.psfu"
+case "$country" in
+ # German version
+ de*)
+ COUNTRY="de"
+ LANG="de_DE.UTF-8"
+ KEYTABLE="de-latin1-nodeadkeys"
+ XKEYBOARD="de"
+ KDEKEYBOARD="de"
+ CHARSET="utf8"
+ KDEKEYBOARDS="us,fr"
+ TZ="Europe/Berlin"
+ ;;
+ # Belgian version
+ be*)
+ COUNTRY="be"
+ LANG="C"
+ KEYTABLE="be2-latin1"
+ XKEYBOARD="be"
+ KDEKEYBOARD="be"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="us,de,fr"
+ TZ="Europe/Brussels"
+ ;;
+ # Bulgarian version
+ bg*)
+ COUNTRY="bg"
+ LANG="bg_BG"
+ KEYTABLE="bg"
+ XKEYBOARD="bg"
+ KDEKEYBOARD="bg"
+ CHARSET="microsoft-cp1251"
+ KDEKEYBOARDS="us,de,fr"
+ TZ="Europe/Sofia"
+ ;;
+ # Switzerland (basically de with some modifications)
+ ch)
+ LANGUAGE="de"
+ COUNTRY="ch"
+ LANG="de_CH"
+ KEYTABLE="sg-latin1"
+ XKEYBOARD="de_CH"
+ KDEKEYBOARD="de_CH"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="de,us,fr"
+ TZ="Europe/Zurich"
+ ;;
+ # Simplified Chinese
+ cn)
+ COUNTRY="cn"
+ LANG="zh_CN.GB2312"
+ KEYTABLE="us"
+ XKEYBOARD="us"
+ KDEKEYBOARD="us"
+ CHARSET="gb2312.1980-0"
+ KDEKEYBOARDS="us,de,fr"
+ XMODIFIERS="@im=Chinput"
+ TZ="Asia/Shanghai"
+ ;;
+ # Czechoslovakia
+ cs|cz)
+ LANGUAGE="cs"
+ COUNTRY="cs"
+ LANG="cs_CZ.UTF-8"
+ KEYTABLE="cz-lat2"
+ XKEYBOARD="cs"
+ KDEKEYBOARD="cz"
+ CHARSET="iso8859-2"
+ KDEKEYBOARDS="us,de,fr"
+ TZ="Europe/Prague"
+ CONSOLE_FONT="iso02g"
+ ;;
+ # Denmark
+ dk|da)
+ COUNTRY="dk"
+ LANG="da_DK.UTF-8"
+ # Workaround: "dk" broken in gettext, use da:da_DK
+ LANGUAGE="da:da_DK"
+ KEYTABLE="dk"
+ XKEYBOARD="dk"
+ KDEKEYBOARD="dk"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="dk,de,us,fr"
+ TZ="Europe/Copenhagen"
+ ;;
+ es)
+ # Spain
+ COUNTRY="es.UTF-8"
+ LANG="es_ES"
+ KEYTABLE="es"
+ XKEYBOARD="es"
+ KDEKEYBOARD="es"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="de,us,fr"
+ TZ="Europe/Madrid"
+ ;;
+ # Finland
+ fi)
+ COUNTRY="fi"
+ LANG="fi_FI.UTF-8"
+ KEYTABLE="fi"
+ XKEYBOARD="fi"
+ KDEKEYBOARD="fi"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="us"
+ TZ="Europe/Helsinki"
+ ;;
+ # France
+ fr*)
+ COUNTRY="fr"
+ LANG="fr_FR.UTF-8"
+ KEYTABLE="fr"
+ XKEYBOARD="fr"
+ KDEKEYBOARD="fr"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="de,us"
+ TZ="Europe/Paris"
+ ;;
+ he|il)
+ # Hebrew version
+ LANGUAGE="he"
+ COUNTRY="il"
+ LANG="he_IL.UTF-8"
+ KEYTABLE="us"
+ XKEYBOARD="us"
+ KDEKEYBOARD="il"
+ CHARSET="iso8859-8"
+ KDEKEYBOARDS="us,fr,de"
+ TZ="Asia/Jerusalem"
+ ;;
+ # Ireland
+ ie)
+ COUNTRY="ie"
+ LANG="en_IE.UTF-8"
+ KEYTABLE="uk"
+ XKEYBOARD="uk"
+ KDEKEYBOARD="gb"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="us,de,es,fr,it"
+ TZ="Europe/Dublin"
+ ;;
+ # Italy
+ it)
+ COUNTRY="it"
+ LANG="it_IT.UTF-8"
+ KEYTABLE="it"
+ XKEYBOARD="it"
+ KDEKEYBOARD="it"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="fr,us,de"
+ TZ="Europe/Rome"
+ ;;
+ # Japan
+ ja)
+ COUNTRY="jp"
+ LANG="ja_JP.UTF-8"
+ LANGUAGE="ja"
+ KEYTABLE="us"
+ XKEYBOARD="us"
+ KDEKEYBOARD="us"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="fr,us,de"
+ TZ="Asia/Tokyo"
+ ;;
+ # The Netherlands
+ nl)
+ COUNTRY="nl"
+ LANG="nl_NL.UTF-8"
+ KEYTABLE="us"
+ XKEYBOARD="us"
+ KDEKEYBOARD="en_US"
+ CHARSET="iso8859-15"
+ KDEKEYBOARDS="nl,de,fr"
+ TZ="Europe/Amsterdam"
+ ;;
+ # Poland
+ pl)
+ COUNTRY="pl"
+ LANG="pl_PL.UTF-8"
+ KEYTABLE="pl"
+ XKEYBOARD="pl"
+ KDEKEYBOARD="pl"
+ CHARSET="iso8859-2"
+ KDEKEYBOARDS="de,us,fr"
+ TZ="Europe/Warsaw"
+ CONSOLE_FONT="iso02g"
+ ;;
+ # Russia
+ ru)
+ COUNTRY="ru"
+ LANG="ru_RU.UTF-8"
+ KEYTABLE="ru"
+ XKEYBOARD="ru"
+ KDEKEYBOARD="ru"
+ CHARSET="koi8-r"
+ CONSOLE_FONT="Cyr_a8x16"
+ KDEKEYBOARDS="de,us,fr"
+ TZ="Europe/Moscow"
+ ;;
+ # Slovakia
+ sk)
+ COUNTRY="sk"
+ LANG="sk_SK.UTF-8"
+ KEYTABLE="sk-qwerty"
+ XKEYBOARD="sk"
+ KDEKEYBOARD="sk"
+ CHARSET="iso8859-2"
+ KDEKEYBOARDS="us,de"
+ TZ="Europe/Bratislava"
+ CONSOLE_FONT="iso02g"
+ ;;
+ # Slovenia
+ sl)
+ LANGUAGE="sl"
+ COUNTRY="si"
+ LANG="sl_SI.UTF-8"
+ KEYTABLE="slovene"
+ XKEYBOARD="sl"
+ KDEKEYBOARD="si"
+ CHARSET="iso8859-2"
+ KDEKEYBOARDS="us,de"
+ TZ="Europe/Ljubljana"
+ CONSOLE_FONT="iso02g"
+ ;;
+ tr)
+# Turkish version (guessed)
+ COUNTRY="tr"
+ LANG="tr_TR.UTF-8"
+ KEYTABLE="tr_q-latin5"
+ XKEYBOARD="tr"
+ KDEKEYBOARD="tr"
+ CHARSET="iso8859-9"
+ KDEKEYBOARDS="us,de,fr"
+ TZ="Europe/Istanbul"
+ ;;
+ # Taiwan - Traditional Chinese version
+ tw)
+ COUNTRY="tw"
+ LANG="zh_TW.UTF-8"
+ LANGUAGE="zh_TW.Big5"
+ KEYTABLE="us"
+ XKEYBOARD="us"
+ KDEKEYBOARD="us"
+ CHARSET="iso8859-1"
+ KDEKEYBOARDS="us"
+ XMODIFIERS="@im=xcin"
+ TZ="Asia/Taipei"
+ ;;
+ # Great Britian
+ uk)
+ COUNTRY="uk"
+ LANG="en_GB.UTF-8"
+ LANGUAGE="en"
+ KEYTABLE="uk"
+ XKEYBOARD="uk"
+ KDEKEYBOARD="gb"
+ CHARSET="iso8859-1"
+ KDEKEYBOARDS="us"
+ TZ="Europe/London"
+ ;;
+ # US and default configuration
+ *)
+ LANGUAGE="us"
+ COUNTRY="us"
+ LANG="C"
+ KEYTABLE="us"
+ XKEYBOARD="us"
+ KDEKEYBOARD="us"
+ CHARSET="iso8859-1"
+ KDEKEYBOARDS="de,fr"
+ TZ="America/New_York"
+ ;;
+esac
+}
+
+#############################################################################
+# This function gets an uri or a comma separated list of uris as parameter.
+# It will then try to mount these uris and add them to the union at /
+include_in_fsroot_union () {
+ union_id=0 # used to have guarantee differing names for the unions mount point
+ union_type=$1
+ for ROOTFS in $(echo $2 |sed 's/,/ /g'); do
+ union_id=$(($union_id + 1))
+ srvproto=$(uri_token $ROOTFS prot)
+ case $srvproto in
+ nfs)
+ # activate kernel nfs if not present, nfsroot consists now of two
+ # different parts
+ root_path=$(uri_token $ROOTFS path)
+ nfsserver=$(uri_token $ROOTFS server)
+ mkdir -p /mnt/tmp/${root_path}_${union_id}
+ for proto in tcp udp fail; do
+ [ $proto = "fail" ] && { error "$scfg_nfs"; break; }
+ mount -n -t nfs -o ro,nolock,$proto $nfsserver:$root_path \
+ /mnt/tmp/${root_path}_${union_id} && break
+ done
+ ;;
+ *nbd)
+ echo "Not working yet"
+ nbdmod=$srvproto
+ # get settings for nbd-client, filesystem equals to path in URI
+ # notation
+ nbdhost=$(uri_token $ROOTFS server)
+ nbdport=$(uri_token $ROOTFS port)
+ nbdrfst=$(uri_token $ROOTFS path)
+ echo -e "(D)NBD $ROOTFS parsed to $srvproto - $nbdhost - \
+ $nbdport - $nbdrfst" >> /tmp/testlog
+ #FIXME: do mount
+ ;;
+ aoe)
+ echo "Not implemented yet"
+ ;;
+ iscsi)
+ echo "Not implemented yet"
+ #iscsiserver=$(uri_token $ROOTFS server)
+ #iscsiport=$(uri_token $ROOTFS port)
+ #iscsitarget=$(uri_token $ROOTFS path)
+ ;;
+ esac
+ if [ "X$union_type" == "XUnionFS" ]; then
+ [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && \
+ echo "Using unionctl to mount ${root_path}_${union_id} (type: \
+ $union_type)"
+ unionctl /mnt/ --add --after 1 --mode ro /mnt/tmp/${root_path}_${union_id}
+ elif [ "X$union_type" == "XAUFS" ]; then
+ # unionctl for aufs is a sh script needing tools not included in our
+ # initramfs
+ [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && \
+ echo "Using aufs-mount to mount ${root_path}_${union_id} (type: $union_type)"
+ mount -n -o remount,add:1:/mnt/tmp/${root_path}_${union_id}=ro none /mnt
+ else
+ error ${init_loadunions} nonfatal
+ fi
+ done
+}
+
+#############################################################################
+# dummy functions - avoid undefined functions in servconfig (functions are
+# normally overwritten by settings within distro-functions) - a file
+# generated by mkdxsinitrd from /functions-default & ~-version
+
+# setup initial boot scripts (for most standard distributions, gentoo is to
+# be handled differently)
+initial_boot () {
+:
+}
+# function for udev configuration
+config_udev () {
+:
+}
+# function for ntp configuration
+config_ntp () {
+:
+}
+# function for afs
+config_afs () {
+:
+}
+# function for atd
+config_atd () {
+:
+}
+# function for configuration of cron services
+config_cron () {
+:
+}
+# syslog service
+config_syslog () {
+:
+}
+# secure shell service
+config_sshd () {
+:
+}
+# snmp agent for remote monitoring
+config_snmp () {
+:
+}
+# consolefont
+consolefont () {
+:
+}
+# acpi and powersave
+config_acpi () {
+:
+}
+# configure hal, dbus, resmgr and services like that
+config_dreshal () {
+:
+}
+# configure automounter, simple NFSv3 imports only
+config_automount () {
+:
+}
+# configure print services / start requested printer daemon
+config_printer () {
+:
+}
+# configure bluetooth services
+config_bt () {
+:
+}
+# create a compliant runlevel script, needed for boot.slx
+d_mkrlscript () {
+:
+}
+# start name service caching daemon
+config_nscd () {
+:
+}
+# configure automounter
+config_automount () {
+:
+}
+# configure samba service (not winbind, but nmbd, smbd)
+config_samba () {
+:
+}
+# start portmapper (needed at least for nfs and nis services)
+config_portmap () {
+:
+}
+# start nis/ypbind
+config_nis () {
+:
+}
+# configure nfsv4 stuff
+config_nfsv4 () {
+:
+}
+# configure keyboard layout
+keytable () {
+:
+}
+# set up localization like keytable, console
+dlocale () {
+:
+}
diff --git a/src/initramfs/scripts/etc/ldap-functions b/src/initramfs/scripts/etc/ldap-functions
new file mode 100644
index 00000000..d2b6753e
--- /dev/null
+++ b/src/initramfs/scripts/etc/ldap-functions
@@ -0,0 +1,75 @@
+#######################################################################
+# configuration via ldap
+# get_timeranges: helper function for ldapconf, retrieving timeranges
+# of machineconfig-objects under search base $1 (Host,Group,Default)
+get_timeranges(){
+trquery=`ldapsearch -x -H ldap://$ldapserver -b $1 -D $user -w $pwd -LLL \
+"(objectclass=machineconfig)" Timerange|sed -n '/Tim*/p'|sed 's/TimeRange: /#/'`
+}
+# matching_timerange: helper function for ldapconf to get "most
+# specific timerange" matching actual time
+matching_timerange(){
+match=0
+lines=$[`echo $trquery | sed 's/#/\n#/g'|wc -l` -1]
+for ((i=0;i<$lines;i++)) ; do
+ timerange[$i]=`echo $trquery | cut -d "#" -f $[$i+2] | sed 's/ //g'`
+done
+while true ; do
+ for ((i=0;i<$lines;i++)) ; do
+ trday=`echo ${timerange[i]} | cut -d "_" -f 1`
+ trbegin=`echo ${timerange[i]} | cut -d "_" -f 2`
+ trend=`echo ${timerange[i]} | cut -d "_" -f 3`
+ if [ $trday == $wday ] && [ $trday != "X" ] && [ $trbegin != "X" ] && \
+ [ $trbegin -le $time ] && [ $time -le $trend ]; then
+ echo $wday $time "[D H H]match ->" ${timerange[i]}
+ tr=${timerange[i]}
+ match=1 && break
+ fi
+ done
+ if [ $match == 1 ] ; then break ; fi
+ for ((i=0;i<$lines;i++)) ; do
+ trday=`echo ${timerange[i]} | cut -d "_" -f 1`
+ trbegin=`echo ${timerange[i]} | cut -d "_" -f 2`
+ trend=`echo ${timerange[i]} | cut -d "_" -f 3`
+ if [ $trday == $wday ] && [ $trbegin == "X" ] && [ $trend == "X" ]; then
+ echo $wday $time "[D _ _]match ->" ${timerange[i]}
+ tr=${timerange[i]}
+ match=1 && break
+ fi
+ done
+ if [ $match == 1 ] ; then break ; fi
+ for ((i=0;i<$lines;i++)) ; do
+ trday=`echo ${timerange[i]} | cut -d "_" -f 1`
+ trbegin=`echo ${timerange[i]} | cut -d "_" -f 2`
+ trend=`echo ${timerange[i]} | cut -d "_" -f 3`
+ if [ $trday == "X" ] && [ $trbegin != "X" ] && [ $trbegin -le $time ] && \
+ [ $time -le $trend ]; then
+ echo $wday $time "[_ H H]match ->" ${timerange[i]}
+ tr=${timerange[i]}
+ match=1 && break
+ else
+ if [ ${timerange[$i]} == "X_X_X" ]; then
+ echo $wday $time "[_ _ _]match ->" ${timerange[i]}
+ tr="X_X_X" && match=1
+ else
+ match=0
+ fi
+ fi
+ done
+ if [ $match == 1 ] || [ $match == 0 ] ; then break ; fi
+done
+}
+# get_machineconfig: helper function for ldapconf, writing machine
+# config data of one timerange $tr into file "tmp/confvialdap/$tr"
+get_machineconfig(){
+ldapsearch -x -H ldap://$ldapserver -b $1 -D $user -w $pwd -LLL \
+"(&(objectclass=machineconfig)(timerange=$tr))"|sed '/dn:/d'|sed '/ou=/d'|\
+sed '/dc=/d'|sed '/objectC*/d'|sed '/Tim*/d'|sed '/cn:/d'|sed '/desc*/d'|sed \
+'s/: /=/g'|sed 's/-/_/g' > tmp/confvialdap/$tr
+}
+
+ldapconf () {
+local ldapserver=$1
+error "$error_ldapcfg"
+echo "not implemented" > /tmp/ldap-done
+}
diff --git a/src/initramfs/scripts/etc/messages b/src/initramfs/scripts/etc/messages
new file mode 100644
index 00000000..ca66245d
--- /dev/null
+++ b/src/initramfs/scripts/etc/messages
@@ -0,0 +1,204 @@
+# Copyright (c) 2003 - 2006 - RZ Uni Freiburg
+# Copyright (c) 2006 - 2009 - OpenSLX GmbH
+#
+# This program/file is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# Messages file for all error and info messages generated during client
+# bootup (within initialramfs) for OpenSLX linux diskless clients version 5.
+# Fhis file contains the standard set of error messages.
+
+# messages from (slx) init
+init_errmsg="The functions file contains a lot of slx scripts \
+functionality. Without this\ninit script will not run."
+init_mff="The main $init_errmsg"
+init_dff="The distro $init_errmsg"
+init_sscf="The slx configuration variables could not be found. Please
+provide the slxconfig file."
+init_noeth=" Unable to configure the ethernet device (eth0). Please check \
+for an\n appropriate kernel module."
+init_errip=" Unable to setup at \
+least basic functionality, because no IP configuration\n available. You \
+might pass that information via kernel command line\n through setting of \
+'ipappend 1' in pxelinux.cfg/* or just enable dhcp\n or ldap. They are \
+enabled via tokens ('ldap' or 'dhcp') in kernel\n command line."
+init_errldap=" Unable to setup at \
+least basic functionality, because no IP configuration\n available. Please \
+beware - ldap works only in combination of either\n ipappend or similar or \
+with dhcp!"
+init_errnwad=" Failed to load the network adaptor modules added via \
+slxconfig-demuxer\n run. Please reconfigure the module list and add the \
+appropriate modules\n without *.ko suffix."
+init_bootmac=" If you have more than one ethernet adaptor present in your \
+machine or using\n a NVidia chipset then it would be advisable to switch on \
+passing of the\n boot MAC address via kernel commandline (IPAPPEND=3) in \
+your PXElinux\n configuration."
+init_nveth=" Your system uses a NVidia ethernet chip which might to fail to \
+get the\n original MAC address assigned. Use IPAPPEND=3 in your PXElinux \
+configuration\n to get the boot MAC address passed on."
+init_errdhcp=" Did not get complete IP \
+configuration via DHCP. You may want to add\n a vendor code identifier \
+via kernel commandline (vci=VCI)."
+init_erripcfg=" Up to now no IP configuration is available. If there is any \
+local file config\n the system may work locally."
+init_errbld=" Failed to load \
+module ${NBD}.ko. It is needed if you intend to use\n network block \
+device (D)NBD for the client as root filesystem."
+init_nbdcl=" Failed to start the network block device client. Unable to \
+mount root\n filesystem."
+init_nbddev=" For some reason the network block device /dev/${NBD}0 never \
+appeared.\n You might want to check udev or your list of static device \
+files."
+init_dnbd2s=" After 100 retries, it was not possible to start the dnbd2 \
+service. Please\n check that at least one server is available. You might \
+use the\n /sys/block/vnbd0 interface for this."
+init_moddir=" The requested modules or firmware directory does not exist. \
+That could mean:\n\
+ * The kernel was updated but the demuxer was not run afterwards.\n\
+ * The mounted filesystem does not contain the modules directory at all.\n\
+ You might want to check the list of mounted filesystems and if /mnt is\n\
+ not empty run 'ls /mnt/lib/modules; ls /mnt/lib/firmware' to check."
+init_loadaufs=" Loading of AUFS and/or UnionFS failed - Either the module(s) \
+are not\n present or do not match the running kernel. If you do not want to \
+see\n this message add the token(s) 'noaufs'/'nounionfs' to your kernel \
+command\n line or remove the modules from your kernel module directory."
+init_loadunions=" Stacking of directories failed, because UnionFS/AUFS is not \
+loaded."
+init_deselau=" You switched off AUFS and UnionFS via kernel commandline, thus \
+no module\n was loaded, using traditional bind mounts."
+init_loadcow=" Loading of Copy On Write (COW - special block device) module \
+failed -\n Either module is not present or module does not match the \
+running\n kernel. If you do not want to see this message remove the token \
+'cowloop' from kernel command line."
+init_cownobld=" Loading of cow module is of no sense if no network/other block \
+device is used or\n UnionFS/AUFS was specified as read write layer too. Remove \
+UnionFS/AUFS token from\n kernel commandline if cowloop should be used instead."
+init_nfs=" Mount of root filesystem via NFS was requested via kernel command \
+line\n but failed. There might be the following reasons for that:\n \
+* No nfs.ko module could be loaded and no NFS support was present in the\n \
+running kernel - see error messages above\n \
+* You tried to mount from wrong server or path ($nfsroot)\n \
+* No NFS server is running or you do not have permissions"
+init_ldcfg=" Starting ldconfig - normally switched off. Enable it via kernel \
+cmdline option\n 'noldsc'. You might have/want to add additional library \
+pathes to the\n ld.so.conf file."
+init_errlog=" Unable to create the logfile configuration in \
+/etc/${D_SYSCONFDIR}. That\n might indicate some severe error."
+init_fstab=" Failed to create /etc/fstab in the clients root filesystem. The\n\
+ noexistence of the file might produce some unexpected behaviour of\n\
+ mount commands."
+init_errldcfg=" For some reason the generation of ld.so.cache did not \
+finish in time."
+init_infldcfg=" You decided not to recreate \
+/etc/ld.so.cache file. That might cause errors\n if libraries are installed \
+after this file was created on server."
+init_errlfg=" The ConfTGZ filesource was some local device which was not \
+mounted successfully.\n Either the wrong device was given or the filesystem \
+is not known to the kernel."
+init_errloop=" The loopback mounting of the rootfs container failed. Either \
+the file is\n not available, unreadable or problems with the filesystem \
+modules."
+init_errcfg="of this client did not finish in\n time. You might check the \
+process list and list the modules loaded until\n now."
+init_errhw=" For some reason the hardware autoconfig $init_errcfg"
+init_errxorg=" For some reason no xorg.conf appeared, check xconfig!"
+init_errsw=" For some reason the software configuration $init_errcfg"
+init_wait=" Waited $ticks ticks to unmount kernel module or firmware \
+directory ..."
+init_errumnt=" Unmount of the kernel modules directory \
+failed for some reason. Some\n modprobe process still active!?"
+init_errsys=" Unmount of the kernel sys directory \
+failed for some\nreason. You will get some error messages that some files \
+could not be\n removed."
+init_runinit=" Could not execute run-init due to missing command or wrong\n \
+parameters given."
+init_picfg=" The plugin configuration directory is missing. This could be due \
+to failed\n config get process at the beginning of stage3 setup. Either \
+requested\n configuration file is missing in ~/client-config/ or a \
+general\n transmission error."
+
+# messages from functions
+error_msg="An error occured during execution of $0 script:\n\n"
+error_nfe="\n -> This error is not fatal - continuing ...\n"
+error_shell="\n -> Running shell for debugging purposes now ...\n"
+error_modload="Failed to load module "
+error_modnfs="needed for mounting rootfs"
+error_nodhcp=" You tried to configure system via dhcp, but no usable dhcp\n\
+ client could be found. Please check that you have some client from\n\
+ the following list installed: dhclient dhcpcd pump ipconfig."
+error_dhcp=" The following problems could produce that error:\n\
+ * The af_packet.ko module is either not loaded nor present in kernel.\n\
+ * No network device is present - either no module matching the hardware\n\
+ was loaded nor present in kernel.\n You might want to run 'lsmod'."
+error_dhclient=" Fatal error occured while trying to run dhclient.\n\
+$error_dhcp"
+error_ldapcfg=" The configuration via ldap is not implemented yet."
+error_errdcfg=" Did not get any configuration data via dhcp until now ..."
+error_errfcfg=" Did not get any configuration data via tftp until now ..."
+error_errlcfg=" Did not get any configuration data via ldap until now ..."
+unpack_ConfTGZ=" Error during unpacking of the ConfTGZ archive.\nAre you sure \
+it is in proper format?"
+nomachsetup=" No machine-setup file found. You might not have gotten any \
+configuration\n from your server. You could find that out by checking if \
+/initramfs and\n /rootfs are present!"
+
+# messages from distro functions
+df_erritab=" The file /etc/inittab does not exist or is no regular one. It \
+is needed\n for the bootup procedure to follow. If upstart is used instead no \
+inittab\n is needed any more, but a proper configured events.d."
+df_errumod=" Failed to load the \"unix\" module. Problems with Hardware \
+detection\nwill probably arise."
+df_errserv="seems not to be installed or start script is\n not available\
+so requesting the start of service make no sense. Please\n disable service\
+or install the files/packages needed."
+df_errcron=" The cron start script $df_errserv"
+df_errsysl=" The syslog start script $df_errserv"
+df_errsshd=" The sshd start script $df_errserv"
+df_erryp=" The NIS client $df_errserv"
+df_errpmap=" The portmapper $df_errserv"
+df_erramnt=" Automounter $df_errserv"
+df_errnsc=" Name Service caching deamon $df_errserv\n This service might \
+be useful to take load from a ldap user directory."
+df_errafsd=" No afs directory present."
+df_errafsn=" AFS client service is not available."
+df_errkbd=" No non-english keyboard and console settings are installed. \
+Please add\n them to your stage1 to have them enabled."
+
+# messages from servconfig
+scfg_nfs=" Mount of some NFS source failed ..."
+scfg_rdate=" Your configured ntpserver does not offer time configuration \
+on port 37."
+scfg_ntptz=" No such timezone data file (needed for ntp time service \
+configuration)."
+scfg_evmlm=" Mounting of local device source for vmware directory failed \
+for some reason."
+scfg_vmdir=" For some reason the runvmware script is not available for \
+copying. That\n could be the result of failed mount or simply missing \
+file on\n server."
+scfg_vmchs=" The virtual machines lister/chooser is not available from \
+~/templates\n directory. Thus no default k/gdm menu entry is created."
+scfg_erradir=" Only one directory level is allowed to hook up automounter \
+to and the\n directory should exist (on the servers export) or should be \
+creatable\n (e.g. because of UnionFS writeable root directory)."
+scfg_country=" No configuration for localization found in config file. \
+Using default\n country setting '${D_DEFAULTCOUNTRY}' defined in $0."
+
+# messages from hwautocfg
+hcfg_hwsetup=" The X server configuration file generated by hwautocfg could \
+not\n be found."
+gfx_msg="Please check your graphic adaptor settings ($hw_graphic)."
+hw_msg=" Please check your predefined monitor settings ($hw_monitor): \
+Automatic\n configuration of display"
+hcfg_res=" $hwmsg resolution was attempted but not established. Using \
+default resolutions (defined in xconfig)"
+hcfg_hwsetup=" Expected information from hwsetup to appear in \
+/tmp/hwsetup.info.\n Unable to configure parts of the systems hardware. \
+Please check that\n hwsetup is properly installed and executable."
+hcfg_keyb=" No settings found for keyboard, using default of '${XKEYBOARD}' \
+defined\n in $0."
+
diff --git a/src/initramfs/scripts/etc/messages.de b/src/initramfs/scripts/etc/messages.de
new file mode 100644
index 00000000..487332d7
--- /dev/null
+++ b/src/initramfs/scripts/etc/messages.de
@@ -0,0 +1,215 @@
+# Copyright (c) 2003 - 2006 - RZ Uni Freiburg
+# Copyright (c) 2006 - 2010 - OpenSLX GmbH
+#
+# This program/file is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# Messages file for all error and info messages generated during client
+# bootup (within initialramfs) for OpenSLX linux diskless clients version 5
+# this file could be used for localization of error messages.
+
+# messages from (slx) init / Fehlermeldungen des SLX init
+init_errmsg=" ,,functions''-Datei beinhaltet viele Funktionen \
+der SLX Skripte. Ohne diese\n wird das Init-Skript nicht funktionieren."
+init_mff=" Die Haupt $init_errmsg"
+init_dff=" Die Distro $init_errmsg"
+init_sscf=" Die SLX Konfigurations-Variablen wurden nicht gefunden.
+Bitte stellen Sie die\n SLX Konfigurations-Datei zur Verfuegung."
+init_noeth=" Konnte die Netzwerk-Schnittstelle nicht konfigurieren (eth0).\
+ Bitte pruefen,\n ob das geeignete kernel-Modul vorhanden ist."
+init_errip=" Konnte die Grund-Funktionalitaet nicht einrichten, \
+da keine IP-Konfigurationen\n vorhanden sind. Sie koennten diese \
+Informationen ueber die Kernel-Command-Line\n durch die Einstellung \
+'ipappend 1' in pxelinux.cfg/* oder ldap\n aktivieren. Sie werden durch \
+Token ('ldap') in den Kernel Start Optionen\n eingeschaltet."
+init_errldap=" Konnte nicht wenigstens die Grund-Funktionalitaet einrichten, \
+da keine IP-Konfigurationen\n vorhanden sind. Achtung - ldap arbeitet nur in \
+Kombination mit IPAPPEND (PXE)\n o.ae. oder DHCP!"
+init_errnwad=" Konnte die Netzwerk-Adapter, die durch den slx/mkramfs bzw. \
+mkdxsinitrd-Aufruf definiert\n wurden, nicht laden. Bitte erneut aufrufen \
+und die passenden Module auflisten\n (ohne Endung .ko)."
+init_bootmac=" Es scheint mehr als eine Ethernet-Karte installiert und die \
+passenden\n Kernel-Module geladen zu sein. Das kann fuer Probleme sorgen, da \
+evtl.\n die nicht verbundene Netzwerkkarte als das erste Interface konfiguriert\
+ \n wurde. Durch die Uebergabe der MAC Adresse des Bootdevices (IPAPPEND=3 in
+der PXElinux-Konfiguration) laesst sich dieses vermeiden."
+init_nveth=" Ihr System benutzt anscheinend eine NVidia-Netzwerkkarte. Hier \
+kann es\n vorkommen, dass die MAC-Adresse nicht korrekt eingestellt wird. \
+Dieses laesst\n sich durch die Uebergabe der MAC Adresse des Bootdevices \
+(IPAPPEND=3 in der PXElinux-Konfiguration) vermeiden."
+init_errdhcp=" Keine komplette IP-Konfiguration ueber DHCP bekommen. \
+Eventuell sollten Sie\n ueber die Kernel Start Optionen eine Hersteller Code \
+ID (vendor code identifier)\n (VCI=vci) hinzufuegen."
+init_erripcfg=" Bis zu diesem Zeitpunkt konnte keine (gueltige) IP.\
+Konfiguration beschafft\n werden. Die Maschine kann funktionieren, wenn \
+lokale Konfiguration per\n Datei moeglich ist."
+init_errbld=" Konnte nicht das Modul ${NBD}.ko laden. Es wird gebraucht, \
+wenn Sie vorhaben, das\n Netzwerk Block Geraet (network block device) (D)NBD \
+fuer den Klienten als Wurzel-Dateisystem zu verwenden."
+init_nbdcl=" Konnte den Network Block Geraete-Dienst nicht starten und damit \
+das Wurzel-Dateisystem\n nicht einhaengen."
+init_nbddev=" Aus irgendeinem Grund ist /dev/${NBD}0 nie erschienen. Sie \
+sollten ihr udev-System\n nach Listen von statischen Geraeten untersuchen."
+init_dnbd2s=" Nach 100 Versuchen konnte das dnbd2 Blockdevice keinen laufenden \
+Server finden.\n Bitte ueberpruefen Sie die Erreichbarkeit."
+init_moddir=" Das angeforderte Modul- bzw. Firmware-Verzeichnis existiert \
+nicht. Das\n koennte bedeuten:\n\
+ * Der Kernel wurde ausgetauscht/erneuert ohne einen neuen Aufruf \
+von slxmkramfs oder\n mkdxsinitrd.\n * Das eingehaengte Dateisystem \
+beinhaltet das Modul-Verzeichnis ueberhaupt nicht.\n Sie sollten die Liste \
+der eingehaengten Dateisysteme pruefen und wenn /mnt\n nicht leer ist, \
+'ls /mnt/lib/modules' ausfuehren."
+init_loadunions=" Stapeln mehrerer Verzeichnisse nicht moeglich, da kein \
+UnionFS/AUFS\n Modul geladen ist."
+init_loadaufs=" Laden von AUFS/UnionFS schlug fehl - entweder das Modul ist \
+nicht vorhanden, oder\n es passt nicht zum laufenden Kernel. Wenn Sie diese \
+Meldung nicht sehen\n wollen, fügen Sie das Token 'noaufs'/'nounionfs' den \
+Kernel Start\n Optionen hinzu oder loeschen Sie die Module."
+init_deselau=" Sie haben AUFS und UnionFS mittels Kernel-Commandline \
+ausgeschaltet, deshalb\n wurde kein entsprechendes Kernel-Modul geladen."
+init_loadcow=" Laden von Copy On Write (COW - Spezielles Block Geraet) Modul \
+schlug fehl -\n entweder das Modul nicht praesent oder es passt nicht zum \
+laufenden\n Kernel. Wenn Sie diese Meldung nicht sehen wollen, entfernen sie \
+das Token 'cowloop' aus den Kernel Start Optionen."
+init_loadufs=" Laden von UnionFS schlug fehl - entweder das Modul ist \
+nicht vorhanden, oder\n es passt nicht zum laufenden Kernel. Wenn Sie diese \
+Meldung nicht mehr sehen\n wollen, entfernen Sie das Token 'unionfs' von den \
+Kernel Start Optionen."
+init_cownonbd=" Laden des COW-Moduls ist sinnlos, wenn kein Netzwerk Block \
+Geraet benutzt wird oder\n UnionFS als Lese- Schreib-Schicht spezifiziert \
+wurde. Entfernen Sie das UnionFS Token aus\n den Kernel-Start-Optionen wenn \
+'cowloop' stattdessen verwendet werden soll."
+init_nfs=" Einhaengen des Wurzel Dateisystems ueber NFS wurde angefordert \
+durch die Kernel Start Optionen,\n aber schlug fehl. Die folgenden Gruende \
+koennten verantwortlich sein:\n\
+ * Kein nfs.ko (und weitere dafuer benoetigte) Modul konnte geladen werden und \
+keine NFS Unterstuetzung war im\n laufenden Kernel vorhanden - siehe \
+Fehlermeldungen darueber.\n\
+ * Sie versuchten, einen falschen Pfad einzuhaengen ($nfsroot).\n\
+ * Kein NFS-Server laeuft oder Sie haben nicht die Zugriffsberechtigungen auf \
+diesen."
+init_ldcfg=" Starte ldconfig - normalerweise ausgeschaltet. Wird mit der Kernel \
+Start Option\n 'noldsc' aktiviert. Eventuell sollten Sie zusaetzliche \
+Bibliothekspfade\n zur ld.so.conf hinzufuegen."
+init_errlog=" Konnte die Log-Datei Konfiguration nicht anlegen in \
+/etc/${D_SYSCONFDIR}. Das\n koennte auf schwerwiegende Fehler hindeuten."
+init_fstab="Das Erzeugen von /etc/fstab im Wurzel-Dateisystem des Clients \
+schlug fehl.\n Die Abwesenheit dieser Datei koennte unvorhergesehenes Verhalten \
+der mount-Befehle\n verursachen."
+init_errldcfg=" Aus irgendeinem Grund konnte die Erstellung von ld.so.cache \
+nicht rechtzeitig fertiggestellt\n werden."
+init_infldcfg=" Sie entschieden sich, die Datei /etc/ld.so.cache nicht neu \
+zu erstellen. Das koennte Fehler verursachen\n wenn Bibliotheken installiert \
+werden nachdem diese Datei auf dem Server erstellt wurde."
+init_errlfg=" Die ConfTGZ Quelle war ein lokales Device, welches nicht korrekt \
+eingebunden werden\n konnte. Entweder wurde das falsche Device/Partition \
+angegeben oder das\n Dateisystem ist dem Kernel nicht bekannt."
+init_errloop=" Der Loopback-Mounting des Rootfilesystem-Containers schlug \
+fehl. Entweder\n die Datei existiert nicht, ist unlesbar oder es gibt \
+Probleme mit\n den Filesystem-Modulen."
+init_errcfg="des Clients nicht rechtzeitig beendet\n Sie sollten die Prozess \
+Liste pruefen und die Module, die bis zum jetzigen Zeitpunkt geladen wurden."
+init_errhw=" Aus irgendeinem Grund wurde die Hardware Auto-Konfiguration \
+$init_errcfg"
+init_errsw=" Aus irgendeinem Grund wurde die Software Konfiguration $init_errcfg"
+init_wait=" Wartete $i Zeiteinheiten das Kernel-Modul- bzw. Firmware-Verzeichnis \
+auszuhaengen ..."
+init_errumnt=" Das Kernel Modul Verzeichnis auszuhaengen \
+scheiterte aus irgendeinem Grund. Sind einige\n ,,modprobe'' noch aktiv!?"
+init_errsys=" Aushaengen des Kernel /sys Verzeichnisses schlug aus irgendeinem \
+Grund\n fehl. Sie werden einige Fehlermeldungen bekommen,\
+\ndass einige Dateien nicht entfernt werden konnten."
+init_runinit=" Konnte switch_root/run-init nicht ausfuehren, wegen fehlender \
+Befehle\n oder falsch angegebenen Parametern."
+init_picfg=" Das Plugin-Konfigurationsverzeichnis fehlt. Dieses könnte an einem \
+fehlgeschlagenen\n holen der Client-Konfiguration liegen, weil entweder die \
+Datei nicht auf\n dem Server verfuegbar ist oder der Transport nicht klappte."
+
+# messages from functions
+error_msg="Ein Fehler trat auf waehrend der Ausfuehrung des $0 Skripts:\n\n"
+error_nfe="\n -> Dieser Fehler ist nicht schwerwiegend - setze fort ...\n"
+error_shell="\n -> Fuehre Shell aus zum Debuggen ...\n"
+error_modload="Es schlug fehl, folgendes Modul zu laden:"
+error_modnfs="gebraucht zum einhaengen des Wurzel Dateisystems"
+error_nodhcp=" Sie versuchten ihr System mittels DHCP einzurichten, es wurde \
+aber kein brauchbarer DHCP\n Client gefunden. Bitte pruefen Sie, ob sie einen \
+der folgenden Clients\n installiert haben: dhclient dhcpcd pump udhcpc."
+error_dhcp=" Die folgenden Probleme koennten den Fehler verursachen:\n\
+ * Das af_packet.ko Modul ist weder geladen noch praesent im Kernel.\n\
+ * Kein Netzwerk Geraet ist praesent - weder ein passendes Modul\n\
+ wurde geladen noch ist praesent im laufenden Kernel.\n Sie sollten \
+'lsmod' ausfuehren."
+error_dhclient=" Schwerer Fehler aufgetreten beim Aufrufen von dhclient.\n\
+$error_dhcp"
+error_ldapcfg=" Die Konfiguration via ldap ist noch nicht implementiert."
+error_errdcfg=" Bis jetzt noch keine Konfigurationsdaten bekommen via dhcp .."
+error_errfcfg=" Bis jetzt noch keine Konfigurationsdaten bekommen via tftp ..."
+error_errlcfg=" Bis jetzt noch keine Konfigurationsdaten bekommen via ldap ..."
+unpack_ConfTGZ=" Fehler beim entpacken des ConfTGZ.\nSind Sie sicher, dass es im \
+richtigen Format ist?"
+nomachsetup=" Die Datei machine-setup nicht gefunden. Es koennte sein, dass das \
+Konfigurations-\n paket nicht erfolgreich vom Server beschafft wurde. Das \
+erkennen Sie daran,\n dass die Verzeichnisse /initramfs, /rootfs angelegt \
+wurden. Ihr\n OpenSLX Client wird deshalb nicht wie erwartet funktionieren."
+
+# messages from distro functions
+df_erritab=" Die Datei /etc/inittab existiert nicht oder ist keine regulaere. \
+\n Sie wird fuer den Boot-Process benoetigt."
+df_errumod=" Das Laden des \"unix\" Moduls schlug fehl. \nWahrscheinlich \
+werden Probleme bei der Hardware-Erkennung auftreten."
+df_errserv="ist entweder nicht installiert oder das Start-Skript ist nicht \
+verfuegbar.\n Deswegen macht der Start des Dienstes keinen Sinn. Bitte \
+deaktivieren Sie den Start\n oder installieren Sie die benoetigten Dateien."
+df_errcron=" Das cron Start-Skript $df_errserv"
+df_errsysl=" Das syslog Start-Skript $df_errserv"
+df_errsshd=" Das sshd Start-Skript $df_errserv"
+df_erryp=" Der NIS-Klient $df_errserv"
+df_errpmap=" Der Portmapper $df_errserv"
+df_erramnt=" Der Automounter $df_errserv"
+df_errnsc=" Der Name Service Zwischenspeicherungs Daemon $df_errserv\n \
+Dieser Dienst koennte nuetzlich sein, um Daten von einem ldap Benutzer-\
+Verzeichnis zu bekommen."
+df_errafsd=" Kein AFS Verzeichnis erreichbar"
+df_errafsn=" Der AFS-Client Dienst ist nicht verfuegbar"
+df_errkbd=" Keine nicht-englische Tastatur und/oder Konsolenunterstuetzung \
+installiert.\n Falls gewuenscht/benoetigt diese im Stage1 nachinstallieren!"
+
+# messages from servconfig
+scfg_nfs=" Das Einhaengen einer NFS Quelle schlug fehl..."
+scfg_ntptz=" Die Zeitzonen-Datei wurde nicht gefunden (gebraucht fuer die \
+NTP-Zeit Dienst Konfiguration)."
+scfg_evmlm=" Das Einbinden der lokalen Festplatte(npartition) des VMware-\
+Image-Verzeichnisses\n schlug fehl."
+scfg_vmdir=" Aus irgendeinem Grund kann das runvmware Skript nicht \
+verfuegbar zu kopieren.\n Das koennte das Ergebnis eines fehlgeschlagenen \
+Mount-Versuchs sein\n oder die Datei fehlt auf dem Server."
+scfg_vmchs=" Das Auswahltool/menu fuer Virtuelle Machinen ist nicht im \
+~/templates\n Verzeichnis vorhanden. Deshalb wurde kein Default KDM Menu \
+Eintrag erzeugt."
+scfg_erradir=" Es wird nur eine Verzeichnis-Ebene erlaubt, den Automounter \
+zu installieren und das\n Verzeichnis sollte existieren (auf dem \
+Server-Export) oder sollte anlegbar sein\n (z.B. durch UnionFS beschreibbares \
+Wurzel-Verzeichnis)."
+scfg_country=" Keine Konfiguration fuer die Lokalisierung gefunden in der \
+Konfigurations-Datei. Benutzer\n Standard Laender-Einstellung \
+'${D_DEFAULTCOUNTRY}' definiert in $0."
+
+# messages from hwautocfg
+hcfg_hwsetup=" Die xserver-Konfigurations-Datei, erstellt von hwsetup, konnte \
+nicht\n gefunden werden."
+gfx_msg="Bitte pruefen Sie ihre Grafik-Adapter-Einstellungen ($hw_graphic)."
+hw_msg=" Bitte pruefen Sie ihre vordefinierten Monitor-Einstellungen ($hw_monitor): \
+Automatische\n Konfiguration des Bildschirms."
+hcfg_res=" $hwmsg Aufloesung wurde versucht aber nicht eingerichtet. Benutze \
+Standard-Aufloesungen (defined in xconfig)"
+hcfg_hwsetup=" Erwartete Informationen von hwsetup in \
+/tmp/hwsetup.info.\n Teile des Systems koennen nicht eingerichtet werden. \
+Bitte pruefen, dass\n hwsetup richtig installiert und ausfuehrbar ist."
+hcfg_keyb=" Keine Einstellungen fuer ihre Tastatur gefunden, verwende den \
+Standard-Wert '${XKEYBOARD}' definiert\n in $0."
+
diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init
new file mode 100755
index 00000000..ec0e815f
--- /dev/null
+++ b/src/initramfs/scripts/init
@@ -0,0 +1,1034 @@
+#!/bin/sh
+# Copyright (c) 2003..2006 - RZ Uni Freiburg
+# Copyright (c) 2006..2010 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org
+#
+# Main script for initial ramfs for OpenSLX linux stateless clients
+#############################################################################
+
+# fixme: the primary init script should never fail, so move all critical code
+# into sub script calls (see ticket 259)
+
+export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
+
+# device files get their own filesystem (to be move mounted later)
+devdir="/dev"
+mount -n -t tmpfs -o 'size=25%,mode=0755' initramfsdevs ${devdir}
+
+# mount the important standard directories
+[ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc
+[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
+
+# create basic device files an directories (in dev - for most hardware related
+# devices mdev should handle that)
+for i in "/dev/mem c 1 1" "/dev/null c 1 3" "/dev/zero c 1 5" \
+ "/dev/urandom c 1 9" "/dev/kmsg c 1 11" "/dev/tty0 c 4 0" \
+ "/dev/tty1 c 4 1" "/dev/tty2 c 4 2" "/dev/tty3 c 4 3" \
+ "/dev/tty4 c 4 4" "/dev/tty5 c 4 5" "/dev/tty6 c 4 6" \
+ "/dev/tty7 c 4 7" "/dev/tty8 c 4 8" "/dev/tty9 c 4 9" \
+ "/dev/tty10 c 4 10" "/dev/tty c 5 0" "/dev/console c 5 1" \
+ "/dev/ptmx c 5 2" "/dev/psaux c 10 1" "/dev/agpgart c 10 175" \
+ "/dev/fb0 c 29 0" "/dev/xconsole p"; do
+ mknod $i
+done
+mkdir -p ${devdir}/pts ${devdir}/shm ${devdir}/.udevdb ${devdir}/.udev \
+ ${devdir}/.initramfs /var/log
+# create some standard links (expected?) in /dev
+ln -s /proc/kcore /dev/core
+ln -s /proc/self/fd /dev/fd
+ln -s /proc/self/fd/0 /dev/stdin
+ln -s /proc/self/fd/1 /dev/stdout
+ln -s /proc/self/fd/2 /dev/stderr
+
+# redirect kernel messages to tty10 instead of the standard console
+getty -i -n -l /bin/cat 38400 tty10 &
+setlogcons 10
+
+# start device auto discovery/setup service of busybox
+echo >/etc/mdev.conf
+mdev -s
+
+# source functions file common for all distros, messages contains all error
+# and info output (for some reason the error output is not produced properly
+# - crash)
+
+# how do the localization here? There is not yet a country-Variable
+. /etc/messages
+. /etc/functions || ( echo -e $init_mff && sleep 100 )
+. /etc/distro-functions || ( echo -e $init_dff && sleep 100 )
+
+# configuration settings for this slx system's environment
+. /etc/slxsystem.conf 2>/dev/null || ( echo -e ${init_sscf} && \
+ sleep 100 )
+# initramfs-setup configuration (common initial settings for all clients using
+# a certain InitRamFS generated by slxconfig-demuxer)
+[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
+
+export date="${slxconf_date}"
+
+export DEBUGLEVEL=0
+export KERNEL="${slxconf_kernver}"
+export NWMODULES="${slxconf_listnwmod}"
+export DISTRO_NAME="${slxconf_distro_name}"
+export DISTRO_VER="${slxconf_distro_ver}"
+export SYSTEM_NAME="${slxconf_system_name}"
+export SLXVERSION="${slxconf_slxver}"
+
+# do not use dnbd cache file
+nodnbdcache="yes"
+
+# set a default LAN interface, might be modified for WLAN, bridge setups or
+# on machines with more than one ethernet card built in
+export nwif="eth0"
+
+# load usb modules for keyboard (reenable usb keyboards, otherwise the
+# admin has to wait until second run of hwsetup late in stage3) and the
+# network adaptor modules, search for pci modules to load later on
+hwautocfg base
+
+# if no kernel version is set, try to get it directly from /proc
+if [ -z $KERNEL ] ; then
+ KERNEL=$(cat /proc/version)
+ KERNEL=${KERNEL#*version }
+ KERNEL=${KERNEL% (*) (*}
+fi
+
+# set defaults for some important variables, might be overwritten via
+# kernel commandline
+tmpfssize="$(expr $(grep -i "memtotal" /proc/meminfo | awk '{print $2}') \
+ / 100 \* 75 - 128000)k" # in kbyte
+cowsize="50%"
+rwdir=/dev/shm
+nfsro="nfs"
+aufs=1
+unionfs=1
+
+runinithook '00-started'
+
+# run pre init script and user defined preinit.local, copied by mkdxsinitrd
+# from /var/lib/openslx/config/... in stage2
+preinit
+[ -x /bin/preinit.local ] && /bin/preinit.local
+
+
+# switch off the several configuration methods, will be switched on
+# according to kernel commandline settings
+echo "noldap" > /tmp/ldap-done
+
+# external configuration file retrieval (per tftp) must be done, as otherwise
+# we will never get the initramfs-setup file. By default, we try a predefined
+# standard path (.../tftpboot/client-config/ ...)
+file="yes"
+
+# read kernel commandline
+read KCMDLINE < /proc/cmdline
+export KCMDLINE
+# read the system wide initramfs-setup and then the kernel commandline
+for opts in $(sed "s/#.*//" /etc/initramfs-setup) ${KCMDLINE} ; do
+ case ${opts} in
+ # shut down pc
+ shutdown)
+ cat </proc/sysrq-trigger
+ ;;
+ # from IPAPPEND
+ BOOTIF=*)
+ bootmac=$(echo ${opts} | sed "s/.*=01-//;s/-/:/g")
+ ;;
+ # localization
+ country=*)
+ COUNTRY=${opts#country=}
+ grep -q -E "country=" /etc/initramfs-setup &&
+ echo -e "\n# localization information gotten via kernel command line \
+in $0\ncountry=\"${COUNTRY}\"" >>/etc/initramfs-setup
+ ;;
+ # single token for debugging ...
+ debug)
+ DEBUGLEVEL=1
+ ;;
+ # ... or a specified debug level
+ debug=*)
+ DEBUGLEVEL=${opts#debug=}
+ if [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] ; then
+ echo "** SLX init started near $(sysup)"
+ elif [ $DEBUGLEVEL -ge 3 -a $DEBUGLEVEL -le 20 ] ; then
+ # create, start a debug shell process
+ echo "Debug shell started on second console (tty2)"
+ echo -e "#!/bin/sh\nsh" >/bin/debugshell
+ chmod u+x /bin/debugshell
+ getty -i -n -l /bin/debugshell 38400 tty2 &
+ # start logging (debuglevel >=3)
+ # fixme: SuSE hangs in Creating /var/log/boot.msg if activated
+ echo "Syslogd started on third console (tty3)"
+ # just to have some name in syslog
+ echo "(slx init)" >/proc/sys/kernel/hostname
+ syslogd -C2048
+ klogd
+ logread -f > /dev/tty3 2>/dev/null &
+ logread -f >> /var/log/messages 2>/dev/null &
+ fi
+ ;;
+ # if configuration should not be gathered by dhcp client
+ nodhcp)
+ nodhcp="yes"
+ echo "nodhcp" >/tmp/dhcp-done
+ ;;
+ nofile)
+ unset file
+ echo "nofile" >/tmp/file-done
+ ;;
+ # if ldap configuration should be triggered
+ ldap)
+ ldap="yes"
+ rm /tmp/ldap-done
+ ;;
+ # ldap configuration with host and port to contact (base)
+ ldap=*)
+ ldap="yes"
+ rm /tmp/ldap-done
+ ;;
+ # file source with tftp server and file location on the server
+ file=*|file)
+ if [ "${opts}" != "file" ] ; then
+ fileprot=$(uri_token ${opts#file=} prot)
+ fileserv=$(uri_token ${opts#file=} server)
+ filepath=$(uri_token ${opts#file=} path)
+ fi
+ ;;
+ # if ld.so.cache should be generated; should be switched on when composing
+ # rootfs from more than one source
+ ldsc)
+ ldsc="yes";;
+ # simple union of base ro rootdir with tempfs on top
+ nounionfs)
+ unionfs=0;;
+ # additional source to unify root filesystem with; the top layer will be
+ # the tempfs
+ unionfs=*)
+ unionfs=1
+ uniondirs=${opts#unionfs=}
+ # most probably it is a good idea to run ldconfig, so enable it
+ ldsc="yes"
+ ;;
+ # same for AUFS; alternative to unionfs
+ noaufs)
+ aufs=0;;
+ aufs=*)
+ aufs=1
+ uniondirs=${opts#aufs=}
+ # most probably it is a good idea to run ldconfig, so enable it
+ ldsc="yes"
+ ;;
+ # if cowloop should be used, only ontop of network block device and in
+ # combination with classical fs, like ext2 useful
+ cowloop=*)
+ cowloop=1
+ #cowsize=${opts#cowloop=}
+ ;;
+ # rootfs will void the variables (d)nbdroot, nfsroot ...
+ # fixme: allow multiple rootfs sources to be unioned!?
+ # if strinstr " " "$rootfs" ...
+ rootfs=*)
+ rootfs=${opts#rootfs=}
+ rootfs=${rootfs#\"}
+ rootfs=${rootfs%%\"}
+ srvproto=$(uri_token $rootfs prot)
+ case $srvproto in
+ nfs)
+ # nfsroot consists of two components
+ nfspath=$(uri_token $rootfs path)
+ nfsserver=$(uri_token $rootfs server)
+ grep -q -E "nfsserver" /etc/initramfs-setup || \
+ echo -e "# nfs root information gotten via kernel command \
+line in $0\nnfsserver=\"${nfsserver}\"\nnfspath=\"${nfspath}\"" \
+ >>/etc/initramfs-setup
+ ;;
+ *nbd*)
+ bldmod=$srvproto
+ # get settings for nbd-client, filesystem equals to path in URI
+ # notation (remove leading slash from filesystem at the end)
+ bldhost=$(uri_token $rootfs server)
+ bldport=$(uri_token $rootfs port)
+ bldrfst=$(uri_token $rootfs path)
+ bldrfst=${bldrfst#/*}
+ ;;
+ aoe)
+ echo "Not implemented yet"
+ bldmod=
+ ;;
+ iscsi)
+ echo "Not implemented yet"
+ bldmod=
+ #iscsiserver=$(uri_token $rootfs server)
+ #iscsiport=$(uri_token $rootfs port)
+ #iscsitarget=$(uri_token $rootfs path)
+ ;;
+ lbd)
+ # use a local device for mounting root block device with given
+ # filesystem directly or a root filesystem container from another
+ # filesystem, e.g. rootfs=lbd://sda1/squashfs (bldmod cannot be
+ # empty, use loop or the real device stuff)
+ bldmod=loop
+ blddev=$(uri_token $rootfs server)
+ bldfst=$(uri_token $rootfs path)
+ bldfst=${bldfst#/*}
+ ;;
+ esac
+ ;;
+ # size of cache dnbd should use within ram
+ dcsize=*)
+ dnbdcachesize=${opts#dcsize=};;
+ # ip configuration client-ip:server-ip:gateway:netmask
+ ip=*)
+ ipinfo=${opts#ip=};;
+ # deprecated: nfs server and path (rewritten to standard style)
+ nfsroot=*)
+ srvproto=nfs
+ nfsroot=${opts#nfsroot=}
+ nfspath=${nfsroot#*:}
+ nfsserver=${nfsroot%:/*}
+ grep -q -E "nfsserver" /etc/initramfs-setup || \
+ echo -e "\n# nfs root information gotten via kernel command line \n\
+in $0\n# deprecated: please use rootfs=nfs://...\nnfsserver=\"${nfsserver}\"\
+\nnfspath=\"${nfspath}\"">> /etc/initramfs-setup
+ ;;
+ # size of tempfs if not max. 50% of RAM should be used
+ tmpfssize=*)
+ tmpfssize=${opts#tmpfssize=};;
+ # vendor code identifier for dhcp requests, that way OpenSLX clients could
+ # be distinguished from other (dhcp) clients
+ vci=*)
+ vci=${opts#vci=};;
+ # option for ddcinfo
+ ddcinfo=*)
+ ddcinfo=${opts#ddcinfo=};;
+ esac
+done
+
+runinithook '05-have-kernelvars'
+
+# at this point a timer should be started to ensure an automated reboot
+# or halt of the machine if SLX init does not succeed (e.g. missing kernel
+# module for the network adaptor)
+if [ ${DEBUGLEVEL} -lt 3 -o ${DEBUGLEVEL} = 8 ] ; then
+ cat< /bin/watchdog
+#!/bin/sh
+echo \$$ > /tmp/watchdogpid
+[ ! -f /proc/version ] && mount -n -t proc proc /proc
+sleep 120 2> /dev/null
+echo "o" > /proc/sysrq-trigger
+EOF
+ chmod u+x /bin/watchdog
+ watchdog &
+fi
+
+# check if at least one type of IP configuration is availabe
+if [ -n "$nodhcp" -a -z "$ldap" -a -z "$ipinfo" -a $srvproto != "lbd" ]
+ then echo -e "# You did not specify any advanced configuration mode for \
+your clients. You\n# might want to add the token 'dhcp' for DHCP config, \
+'file(=source)'\n# for config file get via TFTP or 'ldap(=source)' for LDAP \
+configuration to\n# your kernel command line." >> /etc/initramfs-setup
+ if strinfile "clientip" /etc/initramfs-setup ; then
+ # IP configuration seems to be present in initramfs-setup file
+ # TODO: FIX this, as it will clobber all kernel-cmdline values!
+ . /etc/initramfs-setup
+ ipinfo="ip=$clientip:$serverip:$gateway:$subnet_mask"
+ else
+ error "$init_errip"
+ fi
+fi
+
+# for ldap configuration at least basic IP setup is needed to contact the
+# server
+[ -n "$nodhcp" -a -n "$ldap" -a -z "$ipinfo" ] && error "$init_errldap"
+# set debug level and logfile
+if [ $DEBUGLEVEL -eq 20 ] ; then
+ echo "** Setting debuglevel to ${DEBUGLEVEL} at $(sysup)"
+elif [ $DEBUGLEVEL -ne 0 ] ; then
+ echo "Setting debuglevel to ${DEBUGLEVEL}"
+fi
+export MODPRV=" "
+export LOGFILE
+if [ "${DEBUGLEVEL}" -gt 0 -a "${DEBUGLEVEL}" != 8 ] ; then
+ # set LOGFILE and move it later on into stage4
+ LOGFILE="/var/log/slx-boot.log"
+ echo "Starting OpenSLX client boot logging at $(date)" >$LOGFILE
+ echo "1 4 1 7" >/proc/sys/kernel/printk
+ [ "${DEBUGLEVEL}" -ge 2 ] && MODPRV="-v"
+ [ "${DEBUGLEVEL}" -gt 3 -a "${DEBUGLEVEL}" -le 10 ] && {
+ set -x
+ # and the kernel too
+ echo "7 7 7 7" >/proc/sys/kernel/printk; }
+ [ "${DEBUGLEVEL}" -gt 10 -a "${DEBUGLEVEL}" -le 20 ] && set +x
+else
+ # switch off most of kernel debug output
+ echo "0 0 0 0" >/proc/sys/kernel/printk
+ # modprobe should stay quiet
+ MODPRV="-q"
+ LOGFILE="/dev/null"
+fi
+
+runinithook '10-nw-if-config'
+
+# check for multiple ethernet interfaces (we have at least the mac of PXE boot
+# device in $bootmac)
+# check here for the active ethernet link (skip non-ethN interfaces)
+if strinstr "eth" "$nwif" ; then
+ for ethif in eth0 eth1 eth2 eth3 ; do
+ export macaddr=$(ip link show dev $ethif 2>/dev/null | \
+ grep -i link.ether | awk '{print $2}')
+ # if there is no bootmac present in kernel commandline any checks are
+ # useless
+ if [ -z "$bootmac" ] ; then
+ bootmac="$macaddr"
+ [ "$ethif" != "eth0" ] && error "$init_bootmac" nonfatal
+ fi
+ if [ "$macaddr" = "$bootmac" ] ; then
+ nwif=$ethif
+ break
+ elif [ "x$macaddr" = "x" ] ; then
+ # if the macaddr is empty on the first interface tried, there is no
+ # network adaptor visible (missing kernel module)
+ if [ "$ethif" = "eth0" ] ; then
+ error "$init_errnwad"
+ else
+ # assume a forcedeth problem here (nonmatching MACs)
+ macaddr=${bootmac}
+ fi
+ break
+ fi
+ done
+fi
+# quickfix for proper nwif passing ... (to be fixed in a more general way)
+sed "s/nwif=.*/nwif=\"${nwif}\"/" -i /tmp/env/wrapper.env
+oldnwif=$nwif
+# hook to setup bridging (several virtualization tools ...
+runinithook '20-nw-bridge-config'
+
+# set up loopback networking
+[ $DEBUGLEVEL -eq 20 ] && echo "** starting ip config at $(sysup)"
+ip link set dev lo up 2>/dev/null
+ip addr add 127.0.0.1/8 dev lo 2>/dev/null
+ip link set dev $nwif up 2>/dev/null || error "$init_noeth"
+
+# analyze ip information from the kernel command line and put parts
+# of it into several variables
+if [ -n "$ipinfo" ] ; then
+ getip () {
+ local val="$ipinfo:"; i=$(($1 - 1));
+ while [ $i -gt 0 ] ; do
+ val=${val#*:} ; i=$(($i - 1));
+ done;
+ echo $val|sed "s/:.*//"; }
+ clientip=$(getip 1)
+ serverip=$(getip 2)
+ gateway=$(getip 3)
+ subnet_mask=$(getip 4)
+ broadcast_address=$(ipcalc -s -b $clientip $subnet_mask|sed s/.*=//)
+ [ -z "$broadcast_address" ] && broadcast_address=255.255.255.255
+ # we might have an idea of the dns server via preboot
+ dns_srv=$(getip 5)
+ [ -n "$dns_srv" ] && echo nameserver $dns_srv >/etc/resolv.conf;
+ echo -e "# ip configuration written by $0 script:\nclientip=$clientip\n\
+subnet_mask=$subnet_mask\ngateway=$gateway\nserverip=$serverip\n\
+broadcast_address=$broadcast_address" >>/etc/initramfs-setup
+ # set static ip address
+ ip addr add $clientip/$(ipcalc -s -p $clientip $subnet_mask|sed s/.*=//) \
+ broadcast $broadcast_address dev $nwif 2>/dev/null
+ ip route add default via $gateway 2>/dev/null
+else
+ noipyet="yes"
+fi
+# get configuration data via dhcp (with vendor code identifier if present
+# in ${vci} from kernel command line or initramfs-setup) ...
+if [ -z "$nodhcp" ] ; then
+ ( rundhcp ${vci}; echo "dhcp finished at $(sysup)" >/tmp/dhcp-done ) &
+ if [ -n "$noipyet" ] ; then
+ waitfor /tmp/dhcp-done 20000
+ . /tmp/confviadhcp
+ # by now there should be a proper ip configuration present
+ if [ -z "$clientip" -o -z "$subnet_mask" -o -z "$broadcast_address" ]
+ then error "$init_errdhcp"
+ else
+ { ip addr add \
+ $clientip/$(ipcalc -s -p $clientip $subnet_mask|sed s/.*=//) \
+ broadcast $broadcast_address dev $nwif 2>/dev/null || \
+ error "$init_erripcfg"; }
+ # if gateway is available set it
+ [ -n $gateway ] && ip route add default via $gateway 2>/dev/null
+ fi
+ # fixme: to be checked!!
+ # else
+ # if [ -n "$file" -a "$srvproto" = "lbd" ] ; then
+ # error "$init_erripcfg" nonfatal
+ # else
+ # error "$init_erripcfg"
+ # fi
+ # fi
+ fi
+fi
+# check if serverip is set as variable @@@serverip@@@
+sed "s,@@@serverip@@@,$serverip," -i /etc/initramfs-setup
+[ $DEBUGLEVEL -eq 20 ] && echo "** finished ip config at $(sysup)"
+
+# on some network adaptors we need to wait for the link to come up
+dmesg | grep -q "link down" && for i in 1 1 1 1 ; do
+ dmesg | grep -q "link up" && break
+ [ $DEBUGLEVEL -ge 1 ] && echo "network: waited half a second for the \
+link to come up" >>$LOGFILE
+ sleep $i
+done
+# ... or ldap if available (in background)
+[ -n "$ldap" ] && ldapconf &
+# ... or via (t)ftp/http file get (in background)
+[ -n "$file" ] && fileget &
+
+runinithook '25-have-ip-config'
+
+## netconsole is disabled in the default config
+# config_netconsole $clientip $oldnwif $nwif $serverip
+
+# if root filesystem should be imported via local or a network block device
+if [ -n "${bldmod}" ] ; then
+ # load block device driver(s) if needed
+ for module in ${bldmod} ; do
+ modprobe ${MODPRV} ${module} || error "$init_errbld"
+ done
+ mdev -s
+ [ -z "$bldrfst" ] && bldrfst=squashfs
+ bldhost=$(checkip $bldhost)
+ if [ $DEBUGLEVEL -eq 20 ] ; then
+ echo "** starting setup of ${bldmod} at $(sysup)"
+ else
+ echo "Stateless client using ${bldmod} on $bldhost:$bldport with $bldrfst"
+ fi
+ # fixme: check for fs in /proc/filesystems before trying to load the module
+ modprobe ${MODPRV} ${bldrfst} || error "$init_errbld" nonfatal
+
+ # for debugging: interface might not be properly up - check reachability
+ [ $DEBUGLEVEL -ge 1 ] && ping -c 1 -w 15 ${bldhost} >/dev/null 2>&1
+
+ case "${srvproto}" in
+ # network block device present in standard kernel
+ nbd)
+ RDEV=/dev/nbd0
+ waitfor "${RDEV}" 20000 || error "$init_nbddev"
+ i=0
+ while ! nbd-client $bldhost $bldport ${RDEV} -persist ; do
+ usleep 100000
+ i=$(($i + 1))
+ if [ $i -ge 1000 ] ; then
+ error "$init_nbds"; break
+ fi
+ done
+ usleep 100
+ echo deadline > /sys/block/nbd0/queue/scheduler
+ # echo "32" > /sys/block/nbd0/queue/read_ahead_kb
+ ;;
+ # dnbd2 by Vito Di Leo
+ dnbd2)
+ RDEV=/dev/vnbd0
+ waitfor "${RDEV}" 20000 || error "$init_nbddev"
+ # quickhack, should be read in from URI
+ echo 1 > /sys/block/vnbd0/config/vid
+ echo 1 > /sys/block/vnbd0/config/rid
+ # check for others in initramfs-setup and then kernel cmdline
+ rootfs="$(sed -n "/rootfs=/p" /etc/initramfs-setup| \
+ sed "s,rootfs=,,;s,\",,g") "
+ [ "$rootfs" = " " ] && \
+ rootfs="$(cat /proc/cmdline|sed "s,.*rootfs=\",,;s,\".*,,") "
+ i=0
+ # assume no more than 16 different dnbd2 servers (default 4)
+ while [ "x$bldhost" != "x" -a $i -lt 16 ]; do
+ #echo "I: $i R: $rootfs P:$bldport H:$bldhost"
+ echo $bldhost $bldport > /sys/block/vnbd0/server${i}/sock
+ i=$(($i + 1))
+ rootfs=${rootfs#* }
+ bldsp=$(echo ${rootfs}|sed "s, .*,,")
+ bldhost=$(uri_token $bldsp server)
+ bldport=$(uri_token $bldsp port)
+ done
+ # the cfq scheduler seem not a good idea here
+ echo deadline > /sys/block/vnbd0/queue/scheduler
+ # needed for some reason to settle initialization
+ sleep 1
+ i=0
+ while [ $(cat /sys/block/vnbd0/config/running) != 1 ] ; do
+ usleep 100000
+ echo 1 > /sys/block/vnbd0/config/running
+ i=$(($i + 1))
+ if [ $i -ge 50 ] ; then
+ error "$init_dnbd2s"; break
+ fi
+ done
+ echo "64" > /sys/block/vnbd0/queue/read_ahead_kb
+ ;;
+ # dnbd by Thorsten Zitterell
+ dnbd)
+ # quickhack
+ RDEV=/dev/dnbd0
+ if [ -z $nodnbdcache ] ; then # variable not really used yet
+ mkdir /dnbd
+ mount -n -o 'size=20%' -t tmpfs tmpfs /dnbd
+ ( cat /dev/zero > /dnbd/cache 2>/dev/null || echo "ok" >/tmp/cache ) &
+ clientopt="-c /dnbd/cache"
+ waitfor /tmp/cache 10000
+ fi
+ [ $(echo $bldhost|sed "s,\..*,,") -ge 224 ] && \
+ ip route add 224.0.0.0/4 dev $nwif
+ waitfor /dev/dnbd0 10000 || error "$init_nbddev"
+ echo "dnbd-client -b $bldhost -d $RDEV $clientopt"
+ while ! dnbd-client -b $bldhost -d $RDEV $clientopt ; do
+ usleep 10000
+ done
+ # problem with squashfs and cfq scheduler
+ echo noop > /sys/block/dnbd0/queue/scheduler
+ echo 0 > /sys/block/dnbd0/queue/read_ahead_kb
+ ;;
+ lbd)
+ # using clients local block device (disk partition is to be specified
+ RDEV=/dev/$blddev
+ echo "$bldrfst" >>/etc/filesystems
+ realbldrfst=$bldrfst
+ # we might need to mount the base layer filesystem first before accessing
+ # e.g. a squashfs container file on it
+ bldrfst=auto
+ ;;
+ esac
+ RWRO="ro"
+ if [ -n "${cowloop}" -a -x /bin/cowdev ] ; then
+ modprobe ${MODPRV} cowloop || {
+ error "$init_loadcow" nonfatal
+ unset cowloop; }
+ [ -x /bin/mdev ] && mdev -s
+ fi
+ if [ -n "${cowloop}" ] ; then
+ if [ -n "${unionfs}" -o -n "${aufs}" ] ; then
+ error "$init_cownobld"
+ unset unionfs aufs
+ fi
+ echo "Using Copy-on-Write block device for rw access"
+ mount -n -t tmpfs -o size=${cowsize} ramfs ${rwdir}
+ mkdir /dev/cow && mknod /dev/cow/ctl b 241 255
+ usleep 200
+ ln -s /dev/cowloop0 /dev/cow/0
+ # fixme - cowdev depending on blockdev choosen above ...
+ cowdev -a /dev/nbd0 ${rwdir}/nbd.cow
+ usleep 200
+ RWRO="rw"
+ RDEV=/dev/cow/0
+ # run ldconfig if not switched off via kernel command line
+ ldcfg
+ else
+ # use normal UnionFS behaviour because rootfs is not NFS
+ unset nfsro
+ fi
+ # finally mount the configured network/local block device
+ for i in 0 5000 20000 100000 500000 1000000 ; do
+ usleep $i
+ mount -n -t $bldrfst -o $RWRO $RDEV /mnt 2>/dev/null && break
+ done
+ # check if we got the rootfilesystem directly or need to mount a container
+ # file from the mounted block device
+ if [ "${srvproto}" = "lbd" -a -f /mnt/boot/${slxconf_system_name} ]; then
+ mkdir /dev/bootdisk
+ mount --move /mnt /dev/bootdisk
+ mount -t ${realbldrfst} -o loop \
+ /dev/bootdisk/boot/${slxconf_system_name} /mnt || error "$init_errloop"
+ fi
+ [ $DEBUGLEVEL -eq 20 ] && echo "** finished blockdev setup stuff at $(sysup)"
+elif [ -n ${iscsiserver} ] ; then
+ [ $DEBUGLEVEL -eq 20 ] && echo "** started setting up iSCSI initiator at \
+$(sysup)"
+ #if [ -n ${iscsitarget} ] ; then
+ # echo "InitiatorName=${iscsitarget}"|sed "s,@@@serverip@@@,$serverip," \
+ # >/etc/initiatorname.iscsi
+ #else
+ # discovery
+ #fi
+ #echo -e "node.startup = automatic">/etc/iscsid.conf
+ #iscsid -c /etc/iscsid.conf
+ # the cowloop part has to be moved (option for iscsi devices too)
+ # and should be generalized for nbd, dnbd, iscsi
+fi
+
+# if no type of root filesystem is passed via kernel command line try
+# information gathered from dhcp process (only valid for nfs)
+if [ -z "${bldmod}" -a -z "${bldhost}" -a -z "${nfsserver}" ] ; then
+ # information has to be read from dhcp and ldap configuration
+ # cfgcomplete merges all configuration files
+ cfgcomplete
+fi
+
+# mount nfs rootfs
+if [ -z "${bldmod}" -a -z "${bldserver}" ] ; then
+ [ $DEBUGLEVEL -eq 20 ] && echo "** started nfs mount"
+ # read in extended initramfs-setup
+ . /etc/initramfs-setup
+ # prefer nfsserver and nfspath from kernel commandline over the information
+ # gotten from dhcp server
+ if [ -n "${nfsserver}" -a -n "${nfspath}" ] ; then
+ # check if nfsserver is set as variable @@@serverip@@@
+ nfsserver=$(checkip $nfsserver)
+ else
+ # we got a problem here
+ error "$init_nfssp" fatal
+ fi
+ # interface might not be properly up - check reachability
+ ping -c 1 -w 15 ${nfsserver} >/dev/null 2>&1
+ # mount the rootfs via nfs readonly (ro)
+ fsmount nfs ${nfsserver} ${nfspath} /mnt ro
+ #for transport in tcp udp fail; do
+ # [ $proto = "fail" ] && { error "$init_nfs"; break; }
+ # mount -n -t nfs -o ro,nolock,${transport} ${nfsroot} /mnt && break
+ #done
+ [ $DEBUGLEVEL -eq 20 ] && echo "** finished nfs mount at $(sysup)"
+fi
+
+runinithook '35-have-network-root'
+
+# get the complete collection of kernel modules and firmwares available
+testmkd /lib/firmware
+mount -n --bind /mnt/lib/modules /lib/modules && \
+mount -n --bind /mnt/lib/firmware /lib/firmware || error "$init_moddir"
+# start hardware configuration as background process if not a special
+# debuglevel (21) is used for the option of manual hwautocfg start
+if [ ${DEBUGLEVEL} = 21 ] ; then
+ echo "You can run 'hwautocfg main &' manually now ..."
+ /bin/sh
+else
+ [ $DEBUGLEVEL -eq 20 ] && echo "** started hwautocfg in background at \
+$(sysup)"
+ hwautocfg main &
+fi
+
+runinithook '40-started-hw-config'
+
+# unionfs/aufs modules visible by now if installed, try to use aufs for rw
+# access if available
+union_type=""
+if [ ${aufs} -eq 1 ] && \
+ modprobe ${MODPRV} aufs 2>/dev/null && \
+ lsmod | grep -qe "^aufs" ; then union_type="AUFS"
+elif [ ${unionfs} -eq 1 ] && \
+ modprobe ${MODPRV} unionfs 2>/dev/null && \
+ lsmod | grep -qe "^unionfs" ; then union_type="UnionFS"
+elif [ ${aufs} -eq 0 -a ${unionfs} -eq 0 -a -z "${cowloop}" ] ; then
+ error "$init_deselau" nonfatal
+ unset aufs unionfs
+else
+ error "$init_loadaufs" nonfatal
+ unset aufs unionfs
+fi
+
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Filesystem setup started at $(sysup)"
+# setup of client root filesystem dependent on the availability of UnionFS
+if [ "x${union_type}" != "x" ] ; then
+ echo "Using ${union_type} for rw access"
+ mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs
+ # adapting tempfs size of the device directory (takes /tmp in stage4)
+ mount -o remount,size=${tmpfssize} ${devdir}
+ mount -n -t tmpfs -o size=${tmpfssize} none ${rwdir}/uniontmp
+ # hack for handling unionfs with patched run-init
+ mount -n --move /mnt /rorootfs
+ if [ "$union_type" == "UnionFS" ]; then
+ mount -n -t unionfs -o dirs=${rwdir}/uniontmp:/rorootfs=${nfsro}ro \
+ none /mnt
+ elif [ "$union_type" == "AUFS" ]; then
+ mount -n -t aufs -o br:/${rwdir}/uniontmp:/rorootfs=ro none /mnt
+ fi
+ mkdir -p /mnt/uniontmp
+ mount -n --move ${rwdir}/uniontmp /mnt/uniontmp
+ chmod 0755 /mnt/uniontmp /mnt
+ # running hardware disk/tmp setup now
+ hwautocfg disk &
+ # run ldconfig if switched on via kernel command line (token ldsc) or
+ # triggered by unionized root filesystem
+ ldcfg
+elif [ -z "${cowloop}" ] ; then
+ # fire up hardware disk/tmp setup first
+ hwautocfg disk &
+ echo "Using bind mounts to ramdisk for rw access"
+ mount -n -t tmpfs -o size=75% ramfs ${rwdir}
+ for path in ${D_BINDMPTS} ; do
+ mkdir -p ${rwdir}/${path} >/dev/null 2>&1
+ mount -n --bind ${rwdir}/${path} /mnt/${path}
+ [ ${DEBUGLEVEL} -gt 1 -a ${DEBUGLEVEL} != 8 ] && \
+ echo "Created ${rwdir}/${path} and mounted it to /mnt/$path"
+ done
+ # see above ...
+ ldcfg
+ # save the RO directories mentioned in the distro-specific
+ # config to a temporary directory. They will later on be restored
+ for path in ${D_RODIRSINRW}; do
+ if [ -d /mnt/${path} ] ; then
+ list="${path} ${list}"
+ # exclude them from etc copy process too
+ echo "${path}/*"|sed -e "s,/root/,,;s,^/,," >>/tmp/etc.exclude
+ mkdir -p /root/${path} >/dev/null 2>&1
+ mount -n --bind /mnt/${path} /root/${path} >/dev/null 2>&1
+ fi
+ done
+ for path in /etc/${D_SYSCONFDIR} ${D_DIRINBINDMNT} ${list}; do
+ mkdir -p ${rwdir}/${path}
+ done
+ testmkd ${rwdir}/var/tmp 1777
+ # exclude all sysv runlevel link stuff
+ for i in ${D_RCDIRS} ${D_INITBOOTD} ; do
+ echo "*$i/*" >>/tmp/etc.exclude
+ done
+ # add list of files to be excluded and common excludes to the filter list
+ echo -e "-\ndhcp*\n*~\n*.old\n*-\nxorg.conf*" >>/tmp/etc.exclude
+ # if ld.so.cache is to be generated then do not copy the file
+ [ -n "${ldsc}" ] && echo -e "ld.so.cache*" >>/tmp/etc.exclude
+ # for tar exclude lists might be used, more difficult for cp
+ cd /mnt
+ tar -X /tmp/etc.exclude -cp etc/*|tar -xp -C ${rwdir} 2>/dev/null
+ cd /
+ mount -n --bind ${rwdir}/etc /mnt/etc
+ mount -n --bind ${rwdir}/var /mnt/var
+ # get the "covered" mounts back into filesystem structure
+ for path in ${list}; do
+ mount -n --move /root/$path /mnt/$path #>>$LOGFILE 2>&1
+ done
+ #rm -rf /root/* >/dev/null 2>&1
+ # run some specific stuff !?
+fi
+
+runinithook '50-have-layered-fs'
+
+# generate a set of default directories
+. /etc/openslx.conf
+for dir in $OPENSLX_DEFAULT_LOGDIR $OPENSLX_DEFAULT_BINDIR \
+ $OPENSLX_DEFAULT_LIBDIR $OPENSLX_DEFAULT_VIRTDIR; do
+ testmkd /mnt/$dir
+done
+chmod -R 1777 /mnt/${OPENSLX_DEFAULT_LOGDIR}
+
+# script for stuff to execute during early bootup
+d_mkrlscript init boot.slx "Running configuration postponed from InitRamFS"
+echo "fs complete at $(sysup)" >/tmp/fscmpl
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Filesystem setup completed at $(sysup)"
+
+# write debug file information after filesystem setup completed
+echo -e "# /etc${D_SYSCONFDIR}/logfile - file created by $0 (initramfs \
+from $date)\n#\n# logfile \
+for linux diskless client specific debugging output\nLOGFILE=\"$LOGFILE\"\n#\
+\n# debug level\nDEBUGLEVEL=\"$DEBUGLEVEL\"" \
+ > /mnt/etc/${D_SYSCONFDIR}/logfile || error "$init_errlog"
+
+# run distribution independent and dependent configuration of files and
+# services (offer debug shell in runlevel 22)
+if [ ${DEBUGLEVEL} = 22 ] ; then
+ /bin/sh
+else
+ servconfig &
+fi
+
+for path in @@@COMDIRINDXS@@@ ${D_DIRINDXS} ${D_DIRINBINDMNT} ; do
+ testmkd /mnt/${path}
+done
+# Needed writable subdirs nested in readonly subdirs of writable one
+for path in ${D_RWDIRSINRO}; do
+ mount -n -t tmpfs none /mnt/${path}
+done
+for i in /var/run/utmp /var/log/wtmp /var/log/lastlog /etc/mtab ; do
+ echo -n > /mnt/$i
+done
+chown 65534:0 /mnt/var/lib/nobody
+# /proc/bus/usb might be deprecated in newer kernels ...
+echo -e "# /etc/fstab - file generated by $0 (initramfs from $date)\n#\
+\tOpenSLX Project, info@openslx.com\n\nrootfs\t\t/\t\trootfs\t\tro\t\t 0 0\n\
+proc\t\t/proc\t\tproc\t\tdefaults\t 0 0\ninitramdevs\t/dev\t\ttmpfs\
+\t\trw\t\t 0 0\ndevpts\t\t/dev/pts\tdevpts\t\tmode=0620,gid=5\t 0 0" \
+ >/mnt/etc/fstab || error "$init_fstab"
+echo -e "rootfs / rootfs rw 0 0\ninitramdevs /dev tmpfs rw\
+ 0 0" > /mnt/etc/mtab
+
+# copy library cache if generated
+if [ -n "${ldsc}" ] ; then
+ # creating library cache takes a while ...
+ if waitfor /tmp/ldcfg 50000 ; then
+ test -s /mnt/tmp/ld.so.cache && \
+ mv /mnt/tmp/ld.so.cache /mnt/etc/ld.so.cache
+ else
+ error "$init_errldcfg"
+ fi
+else
+ [ $DEBUGLEVEL -gt 2 ] && error "$init_infldcfg" nonfatal
+fi
+
+runinithook '60-have-servconfig'
+
+# wait a while for hardware setup to complete and start cleanup procedure
+[ $DEBUGLEVEL -gt 1 ] && echo "Waiting for hwautocfg to finish ..."
+waitfor /tmp/hwcfg 20000 || error "$init_errhw"
+hwautocfg finish &
+
+# wait a while for services setup to complete
+[ $DEBUGLEVEL -gt 1 ] && echo "Waiting for servconfig to finish ..."
+waitfor /tmp/svcfg 10000 || error "$init_errsw"
+# IP configuration is complete and should not be updated automatically
+killall -9 udhcpc 2>/dev/null
+
+# if uniondirs is not set yet, maybe the unions were given via initramfs-setup
+if [ -z "$uniondirs" ]; then
+ if [ "$union_type" == "AUFS" ]; then
+ # does it contain "://"?
+ if [ "$aufs" != "${aufs#*://}" ]; then
+ uniondirs="$aufs"
+ fi
+ elif [ "$union_type" == "UnionFS" ]; then
+ # does it contain "://"?
+ if [ "$unionfs" != "${unionfs#*://}" ]; then
+ uniondirs="$unionfs"
+ fi
+ fi
+fi
+# if locations are given that should be unioned with the fs root, do it
+if [ -n "$uniondirs" ]; then
+ include_in_fsroot_union "$union_type" "$uniondirs"
+fi
+
+runinithook '70-before-plugins'
+
+# ddcinfo temporary overwrite (with kernel cmdline ddcinfo=1)
+if [ "${ddcinfo}" = "1" -a -f /initramfs/plugin-conf/xserver.conf ]; then
+ echo 'xserver_ddcinfo="1"' >> /initramfs/plugin-conf/xserver.conf
+fi
+
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Plugin configuration started at $(sysup)"
+
+# check for any plugin-specific runlevel scripts and run them, if found:
+if [ ${DEBUGLEVEL} = 25 ] ; then
+ /bin/sh
+else
+ if [ -d /etc/plugin-init.d ]; then
+ for plugin_starter in /etc/plugin-init.d/*.sh; do
+ if [ -e $plugin_starter ]; then
+ [ $DEBUGLEVEL -gt 0 ] \
+ && echo -n "Running plugin starter $plugin_starter ..."
+ [ $DEBUGLEVEL -eq 15 ] \
+ && sed '/^#!/ a\\set -x' -i $plugin_starter
+ init-wrapper $plugin_starter >>/tmp/plugin_starter 2>&1
+ if [ $? -eq 0 ]; then
+ [ $DEBUGLEVEL -gt 0 ] \
+ && echo " ok"
+ else
+ [ $DEBUGLEVEL -gt 0 ] \
+ && echo " failed"
+ fi
+ fi
+ done
+ # load variables defined by plugins to current environment
+ [ -f /tmp/env/wrapper.env ] && . /tmp/env/wrapper.env
+ fi
+fi
+
+runinithook '80-after-plugins'
+
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Plugin configuration finished at $(sysup)"
+
+# create links for initial stage4 boot scripts
+initial_boot
+
+runinithook '85-have-initial-boot'
+
+# post init for some distro specific stuff to run
+postinit
+# general postinit.local configurable by the admin via openslx/config/
+[ -f /initramfs/postinit.local ] && {
+ [ $DEBUGLEVEL -gt 0 ] && \
+ echo -n "Running script /bin/postinit.local ... "
+ chmod u+x /initramfs/postinit.local
+ /initramfs/postinit.local
+ [ $DEBUGLEVEL -gt 0 ] && echo "ok"; }
+
+# start a debug shell in higher debug levels
+[ $DEBUGLEVEL -gt 2 -a $DEBUGLEVEL != 8 ] \
+ && echo "DEBUGLEVEL>2: starting debug-shell, exit with CTRL+D" && /bin/sh
+
+runinithook '90-postinit-done'
+
+# unmount the bind mounted modules, firmware directories and nfs /tmp/scratch
+# (if present)
+export ticks
+for ticks in 0 1 2 5 10 20 30; do
+ sleep $ticks && umount -n /lib/modules 2>/dev/null && break
+ error "$init_wait" nonfatal
+done
+for ticks in 0 1 2 5 10 20 30; do
+ sleep $ticks && umount -n /lib/firmware 2>/dev/null && break
+ error "$init_wait" nonfatal
+done
+mount 2>/dev/null | grep -q "/tmp/scratch type nfs" && \
+ for ticks in 0 1 2 5 10 20 30; do
+ sleep $ticks && umount -n /tmp/scratch 2>/dev/null && break
+ done
+
+mount 2>/dev/null | grep -q /lib/modules && error "$init_errumnt"
+# close runlevel script for stuff to execute during early bootup
+d_mkrlscript close boot.slx ""
+# put /tmp into stage4 mtab and add stuff to stage4 fstab
+sed -n "s,/mnt,,;/\/tmp /p" /proc/mounts >> /mnt/etc/mtab
+[ -f /tmp/fstab ] && cat /tmp/fstab >> /mnt/etc/fstab
+# preparations to leave initramfs - umounting ...
+umount -n /sys || error "$init_errsys" nonfatal
+umount -n /proc/bus/usb >/dev/null 2>&1
+chmod 1777 /dev/shm /mnt/tmp 2>/dev/null
+
+runinithook '95-cleanup'
+
+# kill hwautocfg, servconfig, hwinfo, syslogd, etc.
+killall -9 hwautocfg servconfig debugshell hwinfo syslogd logread 2>/dev/null
+
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** SLX init ended near $(sysup)"
+# kill the watchdog (autopoweroff, if stage3 init never finishes)
+[ -f /tmp/watchdogpid ] && kill $(cat /tmp/watchdogpid) 2>/dev/null
+# stop logging services if required and move logfile into stage4 filesystem
+# (if exists)
+killall klogd 2>/dev/null
+[ -f /var/log/slx-boot.log ] && mv /var/log/slx-boot.log \
+ /mnt/var/log/slx-s3boot.log
+[ -f /var/log/messages ] && cp /var/log/messages \
+ /mnt/var/log/slx_messages 2>/dev/null
+# if no syslog plugin was configured, start the daemon again writing to no
+# logfile directly (useless fake test as placeholder)
+# THIS IS NOT WORKING SOMEHOW!!
+#[ ! -d /mnt/opt/openslx/plugin-repo/syslog/ ] && syslogd -O /mnt/var/log/testfile
+
+# move /dev and unmount /proc and unset all old, unneeded environment
+# variables
+mount -n --move /dev /mnt/dev
+umount -n /proc
+unset client debug date initrd ip bldroot macaddr nwif nfsroot rootfs ticks \
+ vci vga
+unset BOOT_IMAGE KCMDLINE KERNEL MODPRV NWMODULES OLDPWD UDEVD_EVENT_TIMEOUT \
+ SLXVERSION UDEVD_EXPECTED_SEQNUM PATH
+
+runinithook '99-handing-over'
+
+# new style of pivoting (switch_root or run-init)
+exec /sbin/switch_root -c dev/console /mnt /sbin/init $DEBUG_UPSTART || \
+ error "$init_runinit"
diff --git a/src/initramfs/stage3-stuff/bin/dhcpmkconfig b/src/initramfs/stage3-stuff/bin/dhcpmkconfig
deleted file mode 100755
index fa01db75..00000000
--- a/src/initramfs/stage3-stuff/bin/dhcpmkconfig
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2003..2006 - RZ Uni Freiburg
-# Copyright (c) 2006..2010 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found under http://openslx.org
-#
-# Universal (distro independent) IP configuration writer for busybox udhcpc
-# applet used within OpenSLX initramfs. The result is written to the
-# /etc/initramfs-setup file
-
-# script started twice by udhcpc, quit fast if no ip configuration present
-[ -z "$ip" ] && exit 0
-
-# heavy debugging output in level 3 and above ... and on 13
-#FIXME: DEBUGLEVEL is not propagated to this file (at least for Ubuntu)
-[ -z "$DEBUGLEVEL" ] && DEBUGLEVEL=0
-[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 8 -o $DEBUGLEVEL -eq 13 ] && \
- set -x
-
-echo -e "# network configuration written by $0:" >/tmp/confviadhcp
-unset HOME IFS KCMDLINE DEBUGLEVEL MODPRV TERM BOOTIF BOOT_IMAGE \
- infomsg mask lease interface cfgmsg cfgfile boot_file no_bootsplash
-# set the broadcast address if not delivered by dhcp
-[ -z "$broadcast" ] && \
- broadcast=$(ipcalc -b $ip/$subnet|sed s/.*=//)
-set | sed \
- -e "s,^P.*,,;s,ntpsrv,ntp_servers,;s,ip,clientip," \
- -e "s,serverid,serverip,;s,subnet,subnet_mask," \
- -e "s,router,gateway,;s,hostname,host_name," \
- -e "s,domain,domain_name,;s,dns,domain_name_servers," \
- -e "s,broadcast,broadcast_address,;s,dhc.*,,;/^$/d" \
- -e "s,nissrv,nis_servers,;s,nisdomain_name,nis_domain," \
- -e "s,wins,netbios_name_servers,;/OPTIND.*/d" >>/tmp/confviadhcp
-
-# generate a local /etc/resolv.conf (might overwrite the version from preboot)
-[ -n "$domain" ] && echo -e "search $domain\n" >/etc/resolv.conf
-test -n "$dns" && {
- for name in $dns; do
- echo nameserver $name >>/etc/resolv.conf;
- done; }
-
diff --git a/src/initramfs/stage3-stuff/bin/hwautocfg b/src/initramfs/stage3-stuff/bin/hwautocfg
deleted file mode 100755
index 1f02892e..00000000
--- a/src/initramfs/stage3-stuff/bin/hwautocfg
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2003..2006 - RZ Uni Freiburg
-# Copyright (c) 2006..2010 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found under http://openslx.org
-#
-# Universal (distro independent) hardware autoconfiguration script for
-# OpenSLX linux stateless clients, using SuSE hwinfo for configuration
-
-#############################################################################
-# pre part, load USB modules and start hardware detection pci
-base () {
-# avoid annoying error messages because of missing scripts
-for tool in /usr/sbin/acpidump \
- /usr/bin/udevinfo \
- /sbin/dmraid ; do
- testmkd ${tool%/*}
- echo -e "#!/bin/sh" >${tool}
- chmod u+x ${tool}
-done
-# no kernel messages, switch on hotplug via /sbin/mdev
-echo "0 0 0 0" >/proc/sys/kernel/printk
-echo "/sbin/mdev" >/proc/sys/kernel/hotplug
-modprobe -a ${MODPRV} usbhid hid-bright 2>/dev/null &
-# check from vga= that the traditional framebuffer is needed e.g. for splashy
-# get information on the graphics adaptor if bootsplash or xserver plugins are
-# present and the new drm/kms infrastructure is present
-if strinfile "vga=" /proc/cmdline; then
- ( modprobe -a vesafb fbcon 2>/dev/null
- hwinfo --gfxcard >/etc/hwinfo.gfxcard ) &
-elif [ -e /etc/init-hooks/00-started/xserver.sh -o \
- -e /etc/init-hooks/05--have-kernelvars/bootsplash.sh ] && \
- [ -e /lib/modules/${KERNEL}/kernel/drivers/gpu ]; then
- # check for the standard modules (single gpu, multiple connector only)
- ( hwinfo --gfxcard >/etc/hwinfo.gfxcard
- case $(cat /etc/hwinfo.gfxcard) in
- *i915*)
- modprobe -a ${MODPRV} i915 2>/dev/null
- ;;
- *intel*|*Intel*)
- modprobe -a ${MODPRV} i810 i830 i915 2>/dev/null
- ;;
- *nvidia*|*NVidia*|*nouveau*)
- modprobe ${MODPRV} nouveau 2>/dev/null
- ;;
- *radeon*|*Radeon*)
- modprobe ${MODPRV} radeon 2>/dev/null
- ;;
- *mga*|*matrox*|*Matrox*)
- modprobe ${MODPRV} mga 2>/dev/null
- ;;
- *)
- modprobe -a ${MODPRV} r128 savage sis tdfx ttm via
- ;;
- esac
- modprobe -a drm fbcon; mdev -s ) &
-fi
-
-# check and then load appropriate network card modules
-nwcardlist=$(echo ${slxconf_listnwmod}|sed "s/\ /|/g")
-# save results for later info and for Xen plugin when starting Xen VM
-hwinfo --netcard --usb-ctrl >/etc/hwinfo.netcard-usbctrl
-grep modprobe /etc/hwinfo.netcard-usbctrl | grep -E "$nwcardlist|hcd" | \
- grep -v ehci | sed 's/.* Cmd: "//;s/"//' | sort -u >/etc/modprobe.base
-# virtio hack
-if [ $(grep -ic "virtio_pci" /etc/modprobe.base) -ge 1 ]; then
- echo "modprobe virtio_net" >>/etc/modprobe.base
-fi
-sh /etc/modprobe.base; mdev -s
-
-# optimization possible: exclude network and usb base drivers from the
-# following list (bios detection for non-hwautocfg component)
-( hwinfo --pci >/etc/hwinfo.data; echo "read pci device list at $(sysup)" \
- >/tmp/hwdataready ) &
-( usleep 100000 ; hwinfo --bios >/etc/hwinfo.bios ) &
-# for mounting partitions/devices with the "auto" option
-echo -e "ext3\next2\nreiserfs\nxfs\njfs\next4\nvfat" >/etc/filesystems
-# request a local block device for config and root filesystem (lbd://)
-if grep -iq '"lbd://' /proc/cmdline /etc/initramfs-setup; then
- modprobe -a ${MODPRV} ehci_hcd usb-storage sd_mod
- mdev -s
-fi
-return 0
-}
-
-#############################################################################
-# main part
-hwmain () {
-# activate the previously detected devices
-[ $DEBUGLEVEL -ge 2 ] || modloadbg=" >/dev/null 2>\&1"
-# check for rtc if not compiled directly into the kernel
-( [ -e /proc/driver/rtc ] || modprobe ${MODPRV} rtc-cmos ) &
-waitfor /tmp/hwdataready 10000
-sed '/Driver Info #1/,/Config Status:/d' \
- /etc/hwinfo.data | grep modprobe | sed "s|.* Cmd: \"||;s|\"|$modloadbg|" \
- | sort -u >/etc/modprobe.pci
-sh /etc/modprobe.pci
-mdev -s
-
-# bluetooth setup (start it later if present, depends on firmware availa-
-# bility, interpreted by servconfig)
-#( hwinfo --bluetooth >/etc/hwinfo.bt ) &
-
-# load harddisk driver and check for harddisk
-( grep -q -E "SCSI|SATA" /etc/hwinfo.data && modprobe ${MODPRV} sd_mod
- grep -q -E "IDE" /etc/hwinfo.data && modprobe ${MODPRV} ide-disk
- hwinfo --disk | sed -n "/Device File: /p" | \
- sed -e "s|.*Device File: /dev/||;s| .*||" >/etc/hwinfo.disk
- echo "disk detection finished at $(sysup)" >/tmp/diskready; ) &
-[ $DEBUGLEVEL -eq 21 ] && echo "** finished 2nd hwdetection at $(sysup)"
-
-# load disk/optical high level drivers
-modprobe ${MODPRV} ide-cd 2>/dev/null
-modprobe ${MODPRV} sr_mod 2>/dev/null
-modprobe ${MODPRV} ide-floppy 2>/dev/null
-mdev -s
-
-# load kernel module for ps2 mice and map the mousehandler to /dev/input/mice
-( [ -f /lib/modules/${KERNEL}/kernel/drivers/input/mouse/psmouse.ko ] && \
- modprobe ${MODPRV} psmouse
- [ -f /lib/modules/${KERNEL}/kernel/drivers/input/mousedev.ko ] && \
- modprobe ${MODPRV} mousedev
- testmkd /dev/input
- mknod /dev/input/mice c 13 63 2>/dev/null
- hwinfo --mouse >/etc/hwinfo.mouse ) &
-
-# complete the audio configuration and load the dummy module if no audio
-# hardware is present in the machine
-grep -q -E "Audio|sound" /etc/hwinfo.data || modprobe snd-dummy
-modprobe ${MODPRV} snd-pcm-oss
-modprobe ${MODPRV} snd-mixer-oss
-#ln -s /proc/sound/oss/sndstat /dev/sndstat
-
-[ $DEBUGLEVEL -eq 21 ] && echo "** finished most of module loading at $(sysup)"
-
-# scanner setup (fixme: to be checked)
-hwinfo --scanner >/etc/hwinfo.scanner
-[ -f /tmp/scanner-udev ] && cat /tmp/scanner-udev \
- >>/mnt/etc/udev/rules.d/04-scanner.rules
-
-# parallel port setup
-modprobe ${MODPRV} parport_pc && modprobe ${MODPRV} ppdev
-
-# if any new device appeared up to now
-mdev -s
-return 0
-}
-#############################################################################
-# harddisk partition setup part
-disk () {
-# get idea of availabe harddisk partitions, put swap partitions into
-# (/mnt)/etc/fstab and format and mount partitions of type 44 (unknown)
-[ $DEBUGLEVEL -eq 21 ] && echo "** starting hdd stuff at $(sysup)"
-waitfor /tmp/diskready 20000
-if [ -s /etc/hwinfo.disk ] ; then
- for hd in $(cat /etc/hwinfo.disk) ; do
- fdisk -l /dev/$hd|sed -n "/^\/dev\//p" >/etc/disk.partition
- for hdpartnr in $(cat /etc/disk.partition | \
- sed -n -e "/ 82 /p"|sed -e "s/[[:space:]].*//") ; do
- echo -e "$hdpartnr\tswap\t\tswap\t\tdefaults\t 0 0" >>/tmp/fstab
- done
- # we use special non assigned partition type (id44) for harddisk scratch
- # space, thus no normal filesystem will be incidentally deleted or
- # corrupted
- for hdpartnr in $(cat /etc/disk.partition | \
- sed -n -e "/ 44 /p"|sed -e "s/[[:space:]].*//") ; do
- # check for supported filesystem and formatter
- ( if diskfm $hdpartnr ; then
- echo "$hdpartnr is mounted to /mnt/tmp at $(sysup)" >/tmp/tmpready
- echo -e "$hdpartnr\t/tmp\t\tauto\t\tdefaults\t 0 0" >>/tmp/fstab
- else
- echo "formatting failed for some reason ($(sysup))" >/tmp/tmpready
- fi ) &
- part44=yes
- break
- done
- # put detected linux partitions (83) into /etc/fstab with "noauto",
- # special partition 45 (persistent scratch) to /var/scratch and 46
- # to /var/openslx
- for partid in 83 45 46 ; do
- for hdpartnr in $(cat /etc/disk.partition | \
- sed -n -e "/ ${partid} /p"|sed -e "s/[[:space:]].*//") ; do
- mkdir -p /mnt/media/${hdpartnr#/dev/*} 2>/dev/null
- if [ ${partid} -eq 83 ] ; then
- echo -e "$hdpartnr\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto,\
-noexec\t 0 0" >>/tmp/fstab
- elif [ ${partid} -eq 45 ] ; then
- # if more than one id45 present, the latter ones are simply mounted
- # over the previous (the mounts are postponed a bit via do_mnt to
- # have the filesystem completely prepared)
- echo -e "waitfor ${hdpartnr} 4000\n\
- mount -t auto ${hdpartnr} /mnt/media/${hdpartnr#/dev/*}\n\
- ln -sf /media/${hdpartnr#/dev/*} /mnt/var/scratch" >>/etc/do_mnt
- echo -e "${hdpartnr}\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto\
-\t\t 0 0" >>/tmp/fstab
- elif [ ${partid} -eq 46 ] ; then
- # mount a home directory to (/mnt)/var/home
- echo -e "waitfor ${hdpartnr} 4000\n\
- mount -t auto ${hdpartnr} /mnt/media/${hdpartnr#/dev/*} \n\
- test -d /mnt/media/${hdpartnr#/dev/*}/home && \
- ln -sf /media/${hdpartnr#/dev/*} /mnt/var/home" >>/etc/do_mnt
- echo -e "${hdpartnr}\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto\
-\t\t 0 0" >>/tmp/fstab
- fi
- done
- done
- # add
- [ -f /etc/do_mnt ] && sed -e "1i. /etc/functions" -i /etc/do_mnt
- done
- # determine if tmp preparation should wait for format/mount or not
- [ -z "$part44" ] && echo "finished at $(sysup)" >/tmp/tmpready
-else
- echo "no harddisk found ( $(sysup) )" >/tmp/tmpready
-fi
-[ $DEBUGLEVEL -eq 21 ] && echo "** finished hdd stuff at $(sysup)"
-}
-
-#############################################################################
-# cleanup/finishing part
-finish () {
-mdev -s
-# mount filesystem parts (if any) requested in disk setup
-[ -f /etc/do_mnt ] && sh /etc/do_mnt &
-# remove unneeded disk and mouse drivers
-[ ! -s /etc/hwinfo.disk ] && rmmod sd_mod 2>/dev/null
-#grep -q " PS/2 " /etc/hwinfo.mouse || \
-# { rmmod psmouse 2>/dev/null; rm /dev/psaux 2>/dev/null; }
-# more sophistication possible :)
-# remove /sbin/mdev as not available in stage4
-echo >/proc/sys/kernel/hotplug
-return 0
-}
-
-#############################################################################
-# main script starts here
-
-# functions common for all distros
-. /etc/functions
-# functions common for all distros, messages contains all error and
-# info output
-. /etc/messages
-# load distro specific configuration variables and functions. distro
-# specific functions may overwrite functions defined in /etc/functions
-. /etc/distro-functions
-# source general slx and initramfs-setup settings
-. /etc/slxsystem.conf
-. /etc/initramfs-setup
-
-# script run timer
-[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 21 ] && \
- echo "** HW $1 setup started at $(sysup)"
-
-# heavy debugging output in level 3 and above and specific for 11
-[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 8 -o $DEBUGLEVEL -eq 11 ] && \
- set -x
-
-case $1 in
- # pre initialization: loading USB base and network adaptor modules,
- # detection of other pci bus modules
- base)
- base
- ;;
- # main part of hardware setup of pci stuff
- main)
- hwmain
- # main script run timer or debug information
- [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 21 ] && \
- echo "** HW main setup finished at $(sysup)"
- echo "hwsetup main part finished at $(sysup)" >/tmp/hwcfg
- ;;
- # disk setup part (detecting general id82,83 and slx id44,45,46, formatting
- # if required and mounting)
- disk)
- # try to enable compressed RAM SWAP
- if modprobe ${MODPRV} ramzswap && [ -f /usr/bin/rzscontrol ] ; then
- mdev -s
- rzscontrol /dev/ramzswap0 --init
- swapon /dev/ramzswap0
- #hdswap="# disk swap disabled because of enabled compressed ramswap"
- fi
- # if disk action is not disabled
- if [ "x${hw_local_disk}" != "xno" ] ; then
- disk
- else
- echo "using harddisk switched off by hw_local_disk set to 'no' ( $(sysup) )" \
- >/tmp/tmpready
- fi
- ;;
- # remove unneeded kernel modules
- finish)
- finish
- ;;
-esac
diff --git a/src/initramfs/stage3-stuff/bin/init-wrapper b/src/initramfs/stage3-stuff/bin/init-wrapper
deleted file mode 100755
index 57fcb8a0..00000000
--- a/src/initramfs/stage3-stuff/bin/init-wrapper
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2006..2010 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# wrapperscript for plugin init files
-#############################################################################
-
-# Get parameters
-init_file="$1"
-DEBUGLEVEL="$2"
-
-[ -z $DEBUGLEVEL ] && DEBUGLEVEL=0
-
-# How do the localization here? There is not yet a country-Variable
-. /etc/messages
-. /etc/functions
-. /etc/distro-functions
-
-# Configuration settings for this slx system's environment
-. /etc/slxsystem.conf 2>/dev/null
-
-# initramfs-setup configuration (common initial settings for all clients using
-# a certain InitRamFS generated by slxconfig-demuxer)
-[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
-
-# Initial
-testmkd /tmp/env
-
-if [ ! -f /tmp/env/base.sed ]; then
- # Get environment and prepare as sed command
- pre_env_base=$(env | sed -e 's/^\([^=]*\).*/\1/' | tr '\n' ';')
- pre_env_base=$(echo $pre_env_base| sed -e 's/;/\.\*\/\/;s\/\^/g')
- pre_env_base="s/^$pre_env_base//;"
- $(echo $pre_env_base > /tmp/env/base.sed)
-else
- pre_env_base=$(cat /tmp/env/base.sed)
-fi
-
-# Load temporary environments
-[ -f /tmp/env/wrapper.env ] && . /tmp/env/wrapper.env
-
-[ "${DEBUGLEVEL}" -eq 15 ] && set -x
-[ -f $init_file ] && . $init_file
-[ "${DEBUGLEVEL}" -eq 15 ] && set +x
-
-# Remove already known environment variables from postenv
-#env |sed -e $pre_env_base | sort -u | \
-# Store the environment for re-initialization in runinithook function
-env | grep -v -E "debug|DEBUGLEVEL" | sort -u | \
- sed "1s|.*|# generated by init-wrapper; last changed by $init_file|" | \
- sed -e 's/^\([^=]*\)=\(.*\)/export \1="\2"/' \
- > /tmp/env/wrapper.env
-
diff --git a/src/initramfs/stage3-stuff/bin/servconfig b/src/initramfs/stage3-stuff/bin/servconfig
deleted file mode 100755
index 1248918e..00000000
--- a/src/initramfs/stage3-stuff/bin/servconfig
+++ /dev/null
@@ -1,308 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2003..2006 - RZ Uni Freiburg
-# Copyright (c) 2006..2010 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found under http://openslx.org
-#
-# universal (distro independent) configuration script for OpenSLX linux
-# diskless clients (executed in stage3 within initial ramfs). The file-
-# system setup is completed when servconfig starts
-
-#############################################################################
-# check for configuration files to source
-
-# functions common for all distros, messages contains all error and
-# info output
-. /etc/messages
-. /etc/functions
-# load distro specific configuration functions. Distro specific functions may
-# overwrite functions defined in /etc/functions
-. /etc/distro-functions
-. /etc/slxsystem.conf
-
-# load variables defined by plugins
-[ -f /tmp/env/wrapper.env ] && . /tmp/env/wrapper.env
-
-# script run timer
-[ $DEBUGLEVEL -eq 8 ] && echo "** SW setup started at $(sysup)"
-
-# heavy debugging output in level 3 and below 8 ...
-[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 8 -o $DEBUGLEVEL -eq 12 ] && \
- set -x
-
-#############################################################################
-# read and unify configuration options - default configuration file, from
-# dhcp, ldap ...
-# wait for the appearance of configuration from several sources
-cfgcomplete
-. /etc/initramfs-setup
-[ $DEBUGLEVEL -eq 8 ] && echo "** Config info is complete at $(sysup)"
-
-# copy additional configuration and var files and directories
-# admins can place there files in /var/lib/openslx/config/...
-# to be packed during stage2 into (/srv/dxs)/tftpboot/client-config...)
-cp -a /rootfs/* /mnt 2>/dev/null
-
-# copy passwd, group files for temporarily (within stage3 configuration) used
-# by chown
-cp /mnt/etc/passwd /etc
-cp /mnt/etc/group /etc
-
-# set greeting and add information on booted system
-len=$(expr length ${SLXVERSION}${SYSTEM_NAME})
-if [ $len -le 28 ] ; then
- vdstr="Stateless Workstation (V${SLXVERSION}/${SYSTEM_NAME})"
- smax=28
-else
- vdstr="V${SLXVERSION}/${SYSTEM_NAME}"
- smax=52
-fi
-while [ $len -le $smax ] ; do
- vdstr="$vdstr "
- len=$(($len + 1))
-done
-len=$(expr length ${host_name})
-while [ $len -le 30 ] ; do
- space="$space "
- len=$(($len + 1))
-done
-echo "
- WELCOME TO $space \n (\l)
- _____ ______ ______ __ __ _______ __ __ __
- / _ | _ | ___| | | | | ____| | | | | |
- | | | | |_| | |_ | | | | |___ | | / /
- | | | | ___/| _| | | ____ | | | |
- | |_| | | | |___| | | | ____| | |___ / /
- _____/|__| |______|__| |__| |_______|______|__| |__|
-
- $vdstr (c)
-" >/mnt/etc/issue
-
-#############################################################################
-# set localization and add entries to initialize keytable and consolefont to
-# boot.slx
-if [ -z "${country}" ] ; then
- error "$scfg_country" nonfatal
- country="us"
-fi
-# do localization (this functions simply sets a list of variables)
-localization "${country}"
-# start distrospecific localization
-dlocale
-
-#############################################################################
-# setup passwd and shadow for local system users like root, bin, daemon and
-# nobody if no user/admin provided passwd exists ... fixme: see #206
-[ ! -e /rootfs/etc/shadow ] && \
- basepasswd $(sed "/+::0/d;s/root://;s/:.*//" /rootfs/etc/shadow 2>/dev/null)
-
-#############################################################################
-# dns and ip configuration
-# hostname of the machine
-echo "$host_name" >/proc/sys/kernel/hostname
-echo -e "# /etc/hosts - file generated by $0 during OpenSLX stage3\
-\n#\n# IP-Address Full-Qualified-Hostname Short-Hostname\n#\n\
-127.0.0.1\tlocalhost\n::1\t\tlocalhost ipv6-localhost ipv6-loopback\n\
-fe00::0\t\tipv6-localnet\nff00::0\t\tipv6-mcastprefix\nff02::1\
-\t\tipv6-allnodes\nff02::2\t\tipv6-allrouters\nff02::3\t\t\
-ipv6-allhosts\n" >/mnt/etc/hosts
-if [ -n "${domain_name}" ]; then
- echo -en "${clientip}\t" >>/mnt/etc/hosts
- for name in ${domain_name}; do
- echo -en "${host_name}.${name} " >>/mnt/etc/hosts
- done
- echo -e "${host_name}" >>/mnt/etc/hosts
-else
- echo -e "${clientip}\t${host_name}" >>/mnt/etc/hosts
-fi
-# set up domainname and resolving
-rm -rf /mnt/etc/resolv.conf
-test -n "${domain_name}" && \
- echo -e "# /etc/resolv.conf - file generated by\n#\t$0:\n\
-#\t${date}\n#options timeout:1 attempts:1 rotate\n\
-search "${domain_name} >/mnt/etc/resolv.conf
-test -n "${domain_name_servers}" && {
- for name in ${domain_name_servers}; do
- echo nameserver ${name} >>/mnt/etc/resolv.conf;
- done; }
-
-#############################################################################
-# run distro specific configuration function
-config_distro
-
-#############################################################################
-# basic (non network) services
-
-# at daemon - calling distro specific function config_atd
-config_atd
-
-# configuration of cron services - calling distro specific function
-# config_cron (runlevel links, directories, ...)
-config_cron
-
-# setup system log services - distro dependent function config_syslog
-config_syslog
-
-# acpi and powersave - distro dependent function config_acpi, these daemons
-# might require dbus
-config_acpi
-
-# configure udev
-config_udev
-
-# configure dbus - distro dependent function config_dreshal - handle
-# all stuff regarding dependent services like dbus, resmgr, hal ...
-# (check for runlevel scripts, passwd entries, directories ...)
-config_dreshal
-
-# configure automounter (should be moved to plugin)
-if [ "x$automnt" != "xno" ] ; then
- # check if there is some user provided configuration (only auto.master is
- # important) and skip automatic setup
- if [ ! -f /rootfs/etc/auto.master ] ; then
- if [ -d /mnt/misc ] ; then
- echo -e "# /etc/auto.master - file generated by $0:\n\
-/misc\t/etc/auto.misc" >/mnt/etc/auto.master
- echo -e "# /etc/auto.misc - file generated by $0:" >/mnt/etc/auto.misc
- else
- echo -e "# /etc/auto.master - file generated by $0:\n\
-/misc\t#/etc/auto.misc" >/mnt/etc/auto.master
- echo -e "# /etc/auto.misc - file generated by $0:\nautomount for \
-removable devices is mostly deprecated, so /misc is not\nactivated in \
-auto.master." >/mnt/etc/auto.misc
- fi
- if [ -n "${automnt_src}" ] ; then
- # local directory and home directory server from initialramfs-setup
- [ -z "${automnt_dir}" ] && automnt_dir="/home"
- # remove leading and trailing slash
- automnt_dir=${automnt_dir#/}
- automnt_dir=${automnt_dir%/}
- test -d /${automnt_dir} || error "$scfg_erradir" nonfatal
- amserv=$(uri_token $automnt_src server)
- ampath=$(uri_token $automnt_src path)
- amdirn=$(echo ${automnt_dir}|sed "s,/,_,g")
- echo -e "/${automnt_dir}\t/etc/auto.${amdirn}\n" \
- >> /mnt/etc/auto.master
- echo -e "# /etc/auto.${amdirn} created by $0:\n" \
- > /mnt/etc/auto.${amdirn}
- # add '/' to path because uri_token removes any leading '/' (s. function)
- echo -e "*\t-rsize=32768,wsize=32768,rw\t${amserv}:/${ampath}/&" \
- >> /mnt/etc/auto.${amdirn}
- # no tempfs needed if automounter operates on /home
- [ "${automnt_dir}" = "home" ] && umount -t tmpfs /mnt/home 2>/dev/null
- # portmapper is needed for remote NFS sources and local nfs directories
- testmkd /mnt/var/lib/nfs/state
- config_portmap
- fi
- fi
- config_automount
-fi
-
-# configure print services / start requested printer daemon
-config_printer
-
-# configure bluetooth services
-#[ -s /etc/hwinfo.bt ] if existance of bt devices should play any role
-config_bt
-
-#############################################################################
-# network(ed) services
-
-if [ -n "$ntp_servers" ]; then
- # rdate uses the time protocol (port 37 which is not the ntp standard port)
- # thus not every standard ntp-server might offer this service)
- ( rdate -s "$ntp_servers" 2>/dev/null || error "$scfg_rdate" nonfatal
- hwclock -w ) &
-fi
-
-# network time service (ntp) configuration file
-if [ -n "$ntp_servers" -a ! -f /rootfs/etc/ntp.conf ]; then
- echo -e "# /etc/ntp.conf - file generated by $0: \
-$date\n" >/mnt/etc/ntp.conf
- for name in $ntp_servers; do
- echo server $name >>/mnt/etc/ntp.conf
- done
-fi
-# copy timezone file defined with language settings
-[ -z "$TZ" ] && TZ="$timezone"
-ln -snf /usr/share/zoneinfo/${TZ} /mnt/etc/localtime || \
- error "$scfg_ntptz" nonfatal
-config_ntp
-
-# secure shell server - at the moment all clients share one "secret"
-# key or the key has to be regenerated on every bootup or fetched on
-# every bootup from somewhere
-config_sshd
-
-# simple network management protocol agent
-config_snmp
-
-# configure samba service
-config_samba
-
-#############################################################################
-# NIS (variable typically fetched via dhcp)
-# setup nis configuration if needed
-if [ "x$nis_domain" != "x" -a "x$nis_servers" != "x" ] ; then
- echo $nis_domain >/mnt/etc/defaultdomain
- echo -e "# /etc/yp.conf - file generated by $0:\n#\t\
-$date\n\nypserver "$nis_servers >/mnt/etc/yp.conf
- config_nis
-fi
-
-#############################################################################
-# name service caching daemon if networked user database
-config_nscd
-
-#############################################################################
-# preparation of /tmp directory (partition 44, nfs scratch, ramdisk). there
-# might be the chance that we have a disk partition available, so wait for
-# completion of detection, setup process
-[ $DEBUGLEVEL -eq 8 ] && echo "** Waiting for /tmp completion at $(sysup)"
-waitfor /tmp/tmpready 40000
-[ $DEBUGLEVEL -eq 8 ] && echo "** Setup of /tmp completed at $(sysup)"
-# create some directories and correct permissions
-tmpisdisk=$(sed -n '/\/tmp/p' /tmp/fstab 2>/dev/null)
-# if there is no local disk partition for /tmp then try to mount a rw
-# scratch space (if defined in $scratch) and prepared on server
-if [ -n "$scratch" -a -z "$tmpisdisk" ] ; then
- scrproto=$(uri_token $FILESRC prot)
- scrpath=$(uri_token $FILESRC path)
- testmkd /tmp/scratch
- # exports have to be per client!!
- case "$scrproto" in
- nbd)
- :
- ;;
- *)
- tmpserv=$(uri_token $scratch server)
- tmppath=$(uri_token $scratch path)
- # hanging mount processes might stop further setup - timeout
- # should be configured ...
- # fsmount proto server path target options
- fsmount nfs ${tmpserv} ${tmppath} /tmp/scratch \
- "rw,intr,soft,timeo=2,nosuid" && {
- if [ -d /tmp/scratch/${clientip} ] ; then
- mv /tmp/scratch/${clientip} /tmp/scratch/${clientip}.totrash
- rm -rf /tmp/scratch/${clientip}.totrash 2>/dev/null &
- fi
- testmkd /tmp/scratch/${clientip}
- # no need for tempfs there ...
- umount /mnt/tmp >/dev/null 2>&1
- fsmount nfs ${tmpserv} ${tmppath} /mnt/tmp \
- "rw,intr,soft,timeo=2,nosuid"; }
- ;;
- esac
-fi
-
-# script run timer
-[ $DEBUGLEVEL -eq 8 ] && echo "** SW setup finished at $(sysup)"
-
-# servconfig finished successfully
-echo "servconfig finished at $(sysup)" > /tmp/svcfg
diff --git a/src/initramfs/stage3-stuff/etc/functions b/src/initramfs/stage3-stuff/etc/functions
deleted file mode 100644
index 066d2756..00000000
--- a/src/initramfs/stage3-stuff/etc/functions
+++ /dev/null
@@ -1,1034 +0,0 @@
-# Copyright (c) 2003..2006 - RZ Uni Freiburg
-# Copyright (c) 2006..2009 - OpenSLX GmbH
-#
-# This program/file is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Common functions file for the configuration of linux diskless clients
-# (included by init, hwautocfg, servconfig, ... within OpenSLX initialramfs)
-
-#############################################################################
-# set of empty dummy functions (loaded before real functions in the
-# distro specific files - to have no undeclared function in init, serv-
-# config, hwautocfg, ...)
-
-# distro specific funtion called at the beginning of init script
-preinit () {
-:
-}
-# distro specific funtion called at the end of init script
-postinit () {
-:
-}
-# distro specific general function called from servconfig script
-config_distro () {
-:
-}
-# setup netconsole
-config_netconsole () {
-:
-}
-
-#############################################################################
-# produce error message and if $2 is empty run (debug) shell
-error () {
-local e_msg="$1"
-# set LOGFILE if not defined
-[ -z "${LOGFILE}" ] && LOGFILE="/dev/null"
-# if nonfatal error else fatal error message and shell
-if [ -n "$2" ] ; then
- [ "$DEBUGLEVEL" -ge 1 -a "$DEBUGLEVEL" != 8 ] && \
- echo -e "${error_msg}${e_msg}${error_nfe}" >> ${LOGFILE}
- [ "$DEBUGLEVEL" -gt 1 -a "$DEBUGLEVEL" != 8 ] && \
- echo -e "${error_msg}${e_msg}${error_nfe}"
- [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && usleep 10
-else
- echo -e "${error_msg}${e_msg}${error_shell}"
- /bin/sh
- echo -n "Reboot now? [y] (nothing happens here at the moment)"
- exec < /dev/console > /dev/console
- #input="y"
- #read input
- #[ -z "$input" -o "$input" = "y" -o "$input" = "Y" ] && {
- # sleep 4
- # [ -f /proc/sysrq-trigger ] || mount -t proc none /proc
- # echo "b" > /proc/sysrq-trigger
- #}
-fi
-}
-#############################################################################
-# system uptime for performance analysis
-sysup () {
-uptime=$(sed -e "s, .*,," /proc/uptime)
-echo "${uptime} s."
-# if start times are kept, a summary of runtimes would be possible too
-}
-#############################################################################
-# (re)generate dynamic linked libraries cache from /etc/ld.so.conf
-ldcfg () {
-[ -n "${ldsc}" ] && echo -e "$init_ldcfg" && ldconfig /tmp/ld.so.cache &
-}
-#############################################################################
-# URI interpreter $1 variable to interprete, $2 type of token to return
-# prot: tftp, http, nbd, ... server: IP or FQDN
-uri_token () {
-local var=$1
-local prot
-local rest
-local server
-local path
-local port
-local tmpval
-local query=""
-# first check if URI starts with prot:// - URI scheme
-if strinstr "://" "$1" ; then
- prot=${var%://*}
- rest=${var#*://}
-else
- rest="$var"
- prot=""
-fi
-# remove temporary '::' from path, since it conflicts with port specification
-# ticket #232
-if strinstr "::" "$rest" ; then
- rest=$(echo $rest | sed -e 's,::,§§§§§,g')
-elif strinstr "\:\:" "$rest" ; then
- rest=$(echo $rest | sed -e 's,\:\:,§§§§§,g')
-fi
-# get the server IP or name and port - URI authority
-# you get the path or other token without leading "/" - add it later if
-# needed (fixme: port might be broken)
-if strinstr ":" "$rest" ; then
- server="${rest%:*}"
- rest="${rest#*:}"
- path="${rest#*/}"
- port="${rest%/$path}"
-else
- tmpval=$rest
- rest="${rest#*/}"
- server="$(echo $tmpval|sed 's,/.*,,')"
- path="${tmpval#${server}}"
- port=""
-fi
-# get path and query components - URI path, query
-if strinstr "\?" "$rest" ; then
- path="${path%\?*}"
- query="${rest#*\?}"
-fi
-# return the requested token
-case "$2" in
- prot) echo "$prot" ;;
- server) echo "$server" ;;
- # add '::' again to path, remove duplicate "//"
- path) echo "$path" | sed -e 's,§§§§§,\:\:,g;s,//,/,' ;;
- port) echo "$port" ;;
- query) echo "$query" ;;
-esac
-}
-#############################################################################
-# mounter for different file sources
-fsmount () {
-local proto=$1
-local server=$2
-local srcpath=$3
-local target=$4
-local mntopt=$5
-local transport
-testmkd ${target}
-case "${proto}" in
- *nbd)
- # TODO: to be filled in ...
- ;;
- lbdev)
- # we expect the stuff on toplevel directory, filesystem type should be
- # autodetected here ... (vmimgserv is blockdev here)
- vmbdev=/dev/${server}
- waitfor ${vmbdev} 20000
- mount -o ro ${vmbdev} ${target} || error "$scfg_evmlm" nonfatal
- ;;
- nfs)
- # we expect nfs mounts here ... check that nfs module is loaded before
- cat /proc/filesystems | grep -q -E "[[:space:]]nfs" || \
- { modprobe ${MODPRV} nfs 2>/dev/null || error "$error_nfsmod" nonfatal; }
- for transport in tcp udp fail; do
- [ $transport = "fail" ] && { error "$init_nfs" nonfatal;
- noimg=yes; break;}
- mount -n -t nfs -o ${mntopt},nolock,${transport} \
- ${server}:${srcpath} ${target} && break
- done
- ;;
- smb|cifs)
- # cifs mounts might be problematic if accessed with superuser id
- mount -n -o ${mntopt},user=guest,guest,file_mode=0755,dir_mode=0755 \
- -t ${proto} //${server}${srcpath} ${target}
- #d_mkrlscript entry boot.slx "/opt/openslx/uclib-rootfs/bin/mount -n \
- #-o ${mntopt},guest,user=guest,file_mode=0755,dir_mode=0755 -t ${proto} \
- #//${server}${srcpath} ${target#/mnt}"
- ;;
-esac
-}
-#############################################################################
-# replace @@@serverip@@@ with real serverip. Allows the usage of a variable
-# for the server ip address (e.g. in machine-setup or kernel commandline)
-checkip ()
-{
-if [ "@@@serverip@@@" = "$1" -a -n "$serverip" ] ; then
- echo $serverip
-else
- echo $1
-fi
-}
-#############################################################################
-# replacement for which command to find executables inside stage4 rootfs
-binfinder()
-{
-local program="$1"
-local s4path
-local notfound=1
-for s4path in bin sbin usr/bin usr/sbin usr/local/bin \
- usr/local/sbin usr/bin/X11; do
- if [ -f "/mnt/$s4path/$program" ] && \
- [ -x "/mnt/$s4path/$program" ]; then
- printf '%s\n' "/$s4path/$program"
- notfound=0
- break
- fi
-done
-return $notfound
-}
-#############################################################################
-# disk formatter and mounter. some proper error message output should be
-# added. It uses programs invoked from stage 4 root filesystem. First
-# argument is blockdev or file to be formatted, second mountpoint if not
-# /mnt/tmp (default)
-diskfm () {
-local target=$1
-local mntpnt=$2
-local fs
-local path
-[ -f /lib/ld-linux.so.2 ] || ln -s /mnt/lib/ld-linux.so.2 /lib/ld-linux.so.2
-for fs in xfs reiserfs ext2 ; do
- if strinfile "$fs" /proc/filesystems || modprobe ${MODPRV} $fs ; then
- unset $found
- for path in /sbin /bin /usr/sbin /usr/bin ; do
- if test -x /mnt/$path/mkfs.$fs ; then
- found=yes
- case mkfs.$fs in
- mkfs.xfs)
- fopt="-f"
- mopt="-o noexec"
- ;;
- mkfs.ext2)
- fopt="-Fq"
- mopt="-o nocheck,noexec"
- ;;
- mkfs.reiserfs)
- fopt="-f"
- mopt="-o noexec"
- ;;
- esac
- LD_LIBRARY_PATH=/mnt/lib /mnt/$path/mkfs.$fs $fopt $target \
- >/dev/null 2>&1 #|| error
- if [ -z $mntpnt ] ; then
- umount /mnt/tmp 2>/dev/null
- if mount -t $fs -n $mopt $target /mnt/tmp 2>/dev/null; then
- return 0
- else
- mount -n -t tmpfs none /mnt/tmp
- fi
- else
- testmkd $mntpnt
- mount -t $fs -n -o loop $target $mntpnt 2>/dev/null
- return 0
- fi
- fi
- done
- [ -z $found ] && continue
- else break
- fi
-done
-}
-
-#############################################################################
-# dhcp client function
-rundhcp ()
-{
-local vci="$1"
-# ensure the interface is up - might produce conflicts - nbd could fail!!
-# fixme: really needed?
-# [ -n "$noipyet" ] && ip link set dev $nwif up
-[ -f /lib/modules/${KERNEL}/kernel/net/packet/af_packet.ko ] && \
- modprobe ${MODPRV} af_packet
-echo "Starting udhcpc for IP configuration"
-mkdir /var/lib/dhcp >/dev/null 2>&1
-[ -n $vci ] && vci="-V $vci"
-testmkd /usr/share/udhcpc
-ln -sf /bin/dhcpmkconfig /usr/share/udhcpc/default.script
-# see for options.c file in udhcp subdir of busybox for accepted "-O option"
-udhcpc -O nissrv -O nisdomain -t 8 -q $vci \
- -s /usr/share/udhcpc/default.script -i $nwif 2>/dev/null
-}
-
-#############################################################################
-# function for retrieving configuration file (machine-setup) via tftp from a
-# predefined server or given source (file=tftp-server:/path via kernel
-# command line)
-unpack () {
-# $1 is config file name to get, $2 IP of server to get file from
-local dst=$1
-if [ -s $dst ] ; then
- # fixme: handle different types of packaging (gzip/bzip2)??
- if ! tar -xpzf $dst 2> /tmp/ConfTGZ-tar-error ; then
- cat /tmp/ConfTGZ-tar-error
- error "$unpack_ConfTGZ" nonfatal
- rm /tmp/ConfTGZ-tar-error
- fi
- [ "$DEBUGLEVEL" -le 2 -o "$DEBUGLEVEL" -eq 8 ] && rm $dst
- return 0
-else
- return 1
-fi
-}
-
-# tftp wrapper
-# usage tftp_get [count]
-# count is optional - default is 3 - use -1 for indefinit
-tftp_get () {
- local file="$1"
- local file_server="$2"
- local download_successful=0
- local countdown="$3"
-
- if [ -z "$1" -o -z "$2" ]; then
- [ $DEBUGLEVEL -ge 1 ] && \
- echo "[tftp_get] Usage: tftp_get [count]"
- return 1;
- fi
-
- [ "$countdown" = "" ] && countdown=3
-
- until [ $download_successful -eq 1 ]
- do
- if [ "$countdown" = "0" ]; then
- [ $DEBUGLEVEL -ge 1 ] && \
- echo "[tftp_get] download of \"$file\" from \"$file_server\" ... failed"
- return 0;
- fi
- tftp -g -r $file -l /tmp/$(basename $file) $file_server
- [ -s /tmp/$(basename $file) ] && download_successful=1
- countdown=$(expr $countdown - 1)
- usleep 200000
- done
- [ $DEBUGLEVEL -ge 1 ] && \
- echo "[tftp_get] download of \"$file\" from \"$file_server\" ... successful"
- return 0;
-}
-
-
-# wget wrapper
-# usage wget_get [count]
-# count is optional - default is 3 - use -1 for indefinit
-wget_get () {
- local file="$1"
- local file_server="$2"
- local download_successful=0
- local countdown="$3"
-
- if [ -z "$1" -o -z "$2" ]; then
- [ $DEBUGLEVEL -ge 1 ] && \
- echo "[wget_get] Usage: wget_get [count]"
- return 1;
- fi
-
- [ "$countdown" = "" ] && countdown=3
-
- until [ $download_successful -eq 1 ]
- do
- if [ "$countdown" = "0" ]; then
- [ $DEBUGLEVEL -ge 1 ] && \
- echo "[wget_get] download of \"$file\" from \"$file_server\" ... failed"
- return 0;
- fi
- wget -q $file_server$file -O /tmp/$(basename $file)
- [ -s /tmp/$(basename $file) ] && download_successful=1
- countdown=$(expr $countdown - 1)
- usleep 200000
- done
- [ $DEBUGLEVEL -ge 1 ] && \
- echo "[wget_get] download of \"$file\" from \"$file_server\" ... successful"
- return 0;
-}
-
-
-fileget () {
-# normally tftp would be used, alternatively use wget for ftp or http
-# if local device file is specified - mount and unmount after copying
-local cfgfile
-[ "x$fileprot" = "x" ] && fileprot=tftp
-if [ "x$filepath" != "x" ] ; then
- cfgfile=${filepath}
- [ "x$fileserv" = "x" ] && fileserv=$(checkip ${serverip})
- # wait for dns if "fileserv" is a name and not lbd device
- [ "$fileprot" != "lbd" ] && \
- echo ${fileserv} | grep -qi [a-z] && waitfor /tmp/dhcp-done 10000
- [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\
-$filepath, fileserv:$fileserv" >>$LOGFILE
- case "$fileprot" in
- ftp|http)
- wget_get $cfgfile $fileprot://$fileserv \
- && { unpack /tmp/$(basename $cfgfile) && break; } 2>>$LOGFILE
- ;;
- lbd)
- local ldev=$fileserv
- echo "Waiting for configuration file ${cfgfile} ...."
- [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\
-$filepath, fileserv:$fileserv" >>$LOGFILE
- waitfor /mnt/${cfgfile} 10000
- if [ -f /mnt/${cfgfile} ]; then
- unpack /mnt/$cfgfile
- else
- error "$init_errlfg"
- fi
- ;;
- *)
- tftp_get $cfgfile $fileserv \
- && unpack /tmp/$(basename $cfgfile) 2>>$LOGFILE
- ;;
- esac
-else
- # predefined value for OpenSLX environment; it is expected that this
- # directory is just below the tftpboot (path to which the daemon is
- # restricted to)
- filepath="client-config"
- [ "x$fileserv" = "x" ] && fileserv=$(checkip ${serverip})
- [ $DEBUGLEVEL -ge 1 ] && echo "fileget - fileprot:$fileprot, filepath:\
-$filepath, fileserv:$fileserv" >>$LOGFILE
- # try to get configuration files successively; start with distro client
- # and try last distro default ...
- mac=$(echo $macaddr|sed "s/:/-/g")
- for cfgfile in ${filepath}/${SYSTEM_NAME}/01-$mac.tgz \
- ${filepath}/${SYSTEM_NAME}/default.tgz ; do
- case "$fileprot" in
- ftp|http)
- wget $fileprot://$fileserv/$cfgfile -O /tmp/$(basename $cfgfile) \
- 2>>$LOGFILE && { unpack /tmp/$(basename $cfgfile) && break; }
- ;;
- tftp)
- tftp_get $cfgfile $fileserv \
- 2>>$LOGFILE && { unpack /tmp/$(basename $cfgfile) && break; }
- ;;
- esac
- done
- echo -e "\n## Configuration via fileget from ${fileprot}://${fileserv}/\
-${cfgfile}\n# Hierarchy is distro client and as last distro/default" \
- >>/tmp/confviafile
-fi
-cat /initramfs/machine-setup >>/tmp/confviafile 2>/dev/null || \
- error "$nomachsetup"
-echo "fileget via $fileprot from $fileserv/$cfgfile finished" >/tmp/file-done
-[ $DEBUGLEVEL -ge 1 ] && echo "fileget from $cfgfile finished" >>$LOGFILE
-}
-
-#############################################################################
-# function for creating directories after testing of their existance avoids
-# to recreate directories in union mounts. If second and/or third parameters
-# are given check for permission patterns
-testmkd () {
- test -d $1 || mkdir -p $1 >/dev/null 2>&1
- [ $# -ge 2 ] && for i in "$2" "$3" ; do
- echo "$i" | grep -q -E "^[0-9]{3,4}$" && chmod "$i" $1 >/dev/null 2>&1
- echo "$i" | grep -q -E ":." && chown "$i" $1 >/dev/null 2>&1
- done
-}
-
-#############################################################################
-# function for writing a syslog-ng.conf file. First parameter is absolute
-# destination (incl. /mnt prefix)
-# sysngwriter $dest $start_syslog
-sysngwriter () {
-local mysyslogngcfg=$1
-# logging servers might be specified in $log_servers (from e.g. dhcp)
-# fixme!? only first logserver from dhcp variable is used
-[ -n "$log_servers" ] && start_syslog="syslog://${log_servers% *}:514/udp"
-echo -e "# File written by $0 within InitRamFS\n\
-source src {\n\tfile(\"/proc/kmsg\");\n\
-\tunix-dgram(\"/dev/log\");\n\tinternal();\n};\ndestination console_all {\
-\n\tfile(\"/dev/tty10\");\n};" >$mysyslogngcfg
-case "$start_syslog" in
- yes|Yes|YES)
- echo -e "\nlog {\n\tsource(src);\n\tdestination(console_all);\n};" \
- >>$mysyslogngcfg
- ;;
- file)
- echo -e "destination allmessages {\n\tfile(\"/var/log/allmessages\");\n};\
-\nlog {\n\tsource(src); destination(allmessages);\n};" >>$mysyslogngcfg
- ;;
- *)
- syslogsrv=$(uri_token $start_syslog server)
- syslogport=$(uri_token $start_syslog port)
- syslogprot=$(uri_token $start_syslog path)
- [ -z ${syslogport} ] && syslogport=514
- [ -z ${syslogprot} ] && syslogprot=udp
- echo -e "destination loghost {\n\t${syslogprot}(\"${syslogsrv}\" \
-port(${syslogport}));\n};\nlog {\n\tsource(src);\n\tdestination(loghost);\n};"\
- >>$mysyslogngcfg
- ;;
-esac
-}
-
-#############################################################################
-# simple string in string search
-strinstr () {
- case "$2" in *$1*) return 0;; esac
- return 1
-}
-
-#############################################################################
-# simple string in file search, for the future grep should be used instead
-strinfile () {
- case "$(cat $2)" in *$1*) return 0;; esac
- return 1
-}
-
-#############################################################################
-# wait for a file to appear and stop after maxwait counts
-waitfor () {
-local file=$1
-local maxwait=$2
-local count=0
-[ -z $file ] && return 0
-[ -z $maxwait ] && maxwait=5000
-while [ ! -e $file ] ; do
- usleep 1000
- count=$(($count + 1))
- [ $count -gt $maxwait ] && return 1
-done
-return 0
-}
-
-#############################################################################
-# ldconfig is needed if rootfilesystem is composed of several parts. Search
-# for ldconfig and execute it (we expect ldconfig not to be a dynamically
-# linked tool)
-# check that /mnt/etc/ld.so.conf is never lost
-ldconfig () {
-local cachefile="$1"
-for ldcfg in /mnt/sbin/ldconfig \
- /mnt/bin/ldconfig \
- /mnt/usr/sbin/ldconfig; do
- test -x $ldcfg && {
- $ldcfg -r /mnt -C $cachefile; break; }
-done
-echo "finished at $(sysup)" >/tmp/ldcfg
-}
-
-#############################################################################
-# base passwd/shadow, the standard user present in every system. All other
-# system users should be generated within the service function
-basepasswd () {
-# hack (see Ticket #206)
-root_pw="$1"
-# strip every line with userid between 500 and 99999 from the passwd
-# file
-sed '/^[a-zA-Z0-9]*:[a-zA-Z0-9]*:[1-9][0-9]\{3,4\}:/d;/^+:*/d;/^+$/d;
- /^[a-zA-Z0-9]*:[a-zA-Z0-9]*:[5-9][0-9]\{2\}:/d' /mnt/etc/passwd \
- >/tmp/newpasswd
-# and add user nobody again (is there a more elegant way?)
-sed -n -e '/nobody/p' /mnt/etc/passwd >>/tmp/newpasswd
-# create the shadow from passwd file
-echo -e "root:"${root_pw}":12958:0:10000::::" >/mnt/etc/shadow
-sed 's/:.*/:!:13078:0:99999:7:::/;/^root.*/d' /tmp/newpasswd \
- >>/mnt/etc/shadow
-mv /tmp/newpasswd /mnt/etc/passwd
-chmod 0640 /mnt/etc/shadow
-}
-
-#############################################################################
-# wait for the completion of configuration file (machine-setup). It is
-# composed from different sources
-cfgcomplete () {
-waitfor /tmp/dhcp-done 10000 || error "$error_errdcfg" nonfatal
-waitfor /tmp/file-done 10000 || error "$error_errfcfg" nonfatal
-waitfor /tmp/ldap-done 10000 || error "$error_errlcfg" nonfatal
-# concatenate the different files now into the central config file, order
-# matters - ldap (not implemented yet) data has highest priority
-if ! test -f /tmp/cfgcomplete ; then
- echo "## Stage3 configuration via initial/early /etc/initramfs-setup" \
- >/etc/ext-initramfs-setup
- for config in /etc/initramfs-setup /tmp/confviadhcp /tmp/confviafile \
- /tmp/confvialdap
- do test -f $config && cat $config >>/etc/ext-initramfs-setup
- done
-# check again and replace @@@serverip@@@ and produce a final version for
-# stage4 (no much use, just debugging)
-sed "s,@@@serverip@@@,$serverip," -i /etc/ext-initramfs-setup
-. /etc/ext-initramfs-setup
-cp /etc/ext-initramfs-setup /mnt/etc/machine-setup
-mv /etc/ext-initramfs-setup /etc/initramfs-setup
-echo "config completed" >/tmp/cfgcomplete
-fi
-}
-
-#############################################################################
-# execute all shell scripts in the given init-hook folder
-runinithook () {
-local hook=$1
-echo "[openslx] run: $hook" > /dev/kmsg
-if [ -d /etc/init-hooks/$hook ]; then
- for hook_script in /etc/init-hooks/$hook/*.sh; do
- if [ -e $hook_script ]; then
- /bin/init-wrapper $hook_script $DEBUGLEVEL
- . /tmp/env/wrapper.env
- fi
- done
-fi
-}
-
-#############################################################################
-# localization simply derived from $language variable set in machine-setup or
-# other sources - mostly taken from knoppix
-localization () {
-country="$1"
-CONSOLE_FONT="lat9w-16.psfu"
-case "$country" in
- # German version
- de*)
- COUNTRY="de"
- LANG="de_DE.UTF-8"
- KEYTABLE="de-latin1-nodeadkeys"
- XKEYBOARD="de"
- KDEKEYBOARD="de"
- CHARSET="utf8"
- KDEKEYBOARDS="us,fr"
- TZ="Europe/Berlin"
- ;;
- # Belgian version
- be*)
- COUNTRY="be"
- LANG="C"
- KEYTABLE="be2-latin1"
- XKEYBOARD="be"
- KDEKEYBOARD="be"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="us,de,fr"
- TZ="Europe/Brussels"
- ;;
- # Bulgarian version
- bg*)
- COUNTRY="bg"
- LANG="bg_BG"
- KEYTABLE="bg"
- XKEYBOARD="bg"
- KDEKEYBOARD="bg"
- CHARSET="microsoft-cp1251"
- KDEKEYBOARDS="us,de,fr"
- TZ="Europe/Sofia"
- ;;
- # Switzerland (basically de with some modifications)
- ch)
- LANGUAGE="de"
- COUNTRY="ch"
- LANG="de_CH"
- KEYTABLE="sg-latin1"
- XKEYBOARD="de_CH"
- KDEKEYBOARD="de_CH"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="de,us,fr"
- TZ="Europe/Zurich"
- ;;
- # Simplified Chinese
- cn)
- COUNTRY="cn"
- LANG="zh_CN.GB2312"
- KEYTABLE="us"
- XKEYBOARD="us"
- KDEKEYBOARD="us"
- CHARSET="gb2312.1980-0"
- KDEKEYBOARDS="us,de,fr"
- XMODIFIERS="@im=Chinput"
- TZ="Asia/Shanghai"
- ;;
- # Czechoslovakia
- cs|cz)
- LANGUAGE="cs"
- COUNTRY="cs"
- LANG="cs_CZ.UTF-8"
- KEYTABLE="cz-lat2"
- XKEYBOARD="cs"
- KDEKEYBOARD="cz"
- CHARSET="iso8859-2"
- KDEKEYBOARDS="us,de,fr"
- TZ="Europe/Prague"
- CONSOLE_FONT="iso02g"
- ;;
- # Denmark
- dk|da)
- COUNTRY="dk"
- LANG="da_DK.UTF-8"
- # Workaround: "dk" broken in gettext, use da:da_DK
- LANGUAGE="da:da_DK"
- KEYTABLE="dk"
- XKEYBOARD="dk"
- KDEKEYBOARD="dk"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="dk,de,us,fr"
- TZ="Europe/Copenhagen"
- ;;
- es)
- # Spain
- COUNTRY="es.UTF-8"
- LANG="es_ES"
- KEYTABLE="es"
- XKEYBOARD="es"
- KDEKEYBOARD="es"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="de,us,fr"
- TZ="Europe/Madrid"
- ;;
- # Finland
- fi)
- COUNTRY="fi"
- LANG="fi_FI.UTF-8"
- KEYTABLE="fi"
- XKEYBOARD="fi"
- KDEKEYBOARD="fi"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="us"
- TZ="Europe/Helsinki"
- ;;
- # France
- fr*)
- COUNTRY="fr"
- LANG="fr_FR.UTF-8"
- KEYTABLE="fr"
- XKEYBOARD="fr"
- KDEKEYBOARD="fr"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="de,us"
- TZ="Europe/Paris"
- ;;
- he|il)
- # Hebrew version
- LANGUAGE="he"
- COUNTRY="il"
- LANG="he_IL.UTF-8"
- KEYTABLE="us"
- XKEYBOARD="us"
- KDEKEYBOARD="il"
- CHARSET="iso8859-8"
- KDEKEYBOARDS="us,fr,de"
- TZ="Asia/Jerusalem"
- ;;
- # Ireland
- ie)
- COUNTRY="ie"
- LANG="en_IE.UTF-8"
- KEYTABLE="uk"
- XKEYBOARD="uk"
- KDEKEYBOARD="gb"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="us,de,es,fr,it"
- TZ="Europe/Dublin"
- ;;
- # Italy
- it)
- COUNTRY="it"
- LANG="it_IT.UTF-8"
- KEYTABLE="it"
- XKEYBOARD="it"
- KDEKEYBOARD="it"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="fr,us,de"
- TZ="Europe/Rome"
- ;;
- # Japan
- ja)
- COUNTRY="jp"
- LANG="ja_JP.UTF-8"
- LANGUAGE="ja"
- KEYTABLE="us"
- XKEYBOARD="us"
- KDEKEYBOARD="us"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="fr,us,de"
- TZ="Asia/Tokyo"
- ;;
- # The Netherlands
- nl)
- COUNTRY="nl"
- LANG="nl_NL.UTF-8"
- KEYTABLE="us"
- XKEYBOARD="us"
- KDEKEYBOARD="en_US"
- CHARSET="iso8859-15"
- KDEKEYBOARDS="nl,de,fr"
- TZ="Europe/Amsterdam"
- ;;
- # Poland
- pl)
- COUNTRY="pl"
- LANG="pl_PL.UTF-8"
- KEYTABLE="pl"
- XKEYBOARD="pl"
- KDEKEYBOARD="pl"
- CHARSET="iso8859-2"
- KDEKEYBOARDS="de,us,fr"
- TZ="Europe/Warsaw"
- CONSOLE_FONT="iso02g"
- ;;
- # Russia
- ru)
- COUNTRY="ru"
- LANG="ru_RU.UTF-8"
- KEYTABLE="ru"
- XKEYBOARD="ru"
- KDEKEYBOARD="ru"
- CHARSET="koi8-r"
- CONSOLE_FONT="Cyr_a8x16"
- KDEKEYBOARDS="de,us,fr"
- TZ="Europe/Moscow"
- ;;
- # Slovakia
- sk)
- COUNTRY="sk"
- LANG="sk_SK.UTF-8"
- KEYTABLE="sk-qwerty"
- XKEYBOARD="sk"
- KDEKEYBOARD="sk"
- CHARSET="iso8859-2"
- KDEKEYBOARDS="us,de"
- TZ="Europe/Bratislava"
- CONSOLE_FONT="iso02g"
- ;;
- # Slovenia
- sl)
- LANGUAGE="sl"
- COUNTRY="si"
- LANG="sl_SI.UTF-8"
- KEYTABLE="slovene"
- XKEYBOARD="sl"
- KDEKEYBOARD="si"
- CHARSET="iso8859-2"
- KDEKEYBOARDS="us,de"
- TZ="Europe/Ljubljana"
- CONSOLE_FONT="iso02g"
- ;;
- tr)
-# Turkish version (guessed)
- COUNTRY="tr"
- LANG="tr_TR.UTF-8"
- KEYTABLE="tr_q-latin5"
- XKEYBOARD="tr"
- KDEKEYBOARD="tr"
- CHARSET="iso8859-9"
- KDEKEYBOARDS="us,de,fr"
- TZ="Europe/Istanbul"
- ;;
- # Taiwan - Traditional Chinese version
- tw)
- COUNTRY="tw"
- LANG="zh_TW.UTF-8"
- LANGUAGE="zh_TW.Big5"
- KEYTABLE="us"
- XKEYBOARD="us"
- KDEKEYBOARD="us"
- CHARSET="iso8859-1"
- KDEKEYBOARDS="us"
- XMODIFIERS="@im=xcin"
- TZ="Asia/Taipei"
- ;;
- # Great Britian
- uk)
- COUNTRY="uk"
- LANG="en_GB.UTF-8"
- LANGUAGE="en"
- KEYTABLE="uk"
- XKEYBOARD="uk"
- KDEKEYBOARD="gb"
- CHARSET="iso8859-1"
- KDEKEYBOARDS="us"
- TZ="Europe/London"
- ;;
- # US and default configuration
- *)
- LANGUAGE="us"
- COUNTRY="us"
- LANG="C"
- KEYTABLE="us"
- XKEYBOARD="us"
- KDEKEYBOARD="us"
- CHARSET="iso8859-1"
- KDEKEYBOARDS="de,fr"
- TZ="America/New_York"
- ;;
-esac
-}
-
-#############################################################################
-# This function gets an uri or a comma separated list of uris as parameter.
-# It will then try to mount these uris and add them to the union at /
-include_in_fsroot_union () {
- union_id=0 # used to have guarantee differing names for the unions mount point
- union_type=$1
- for ROOTFS in $(echo $2 |sed 's/,/ /g'); do
- union_id=$(($union_id + 1))
- srvproto=$(uri_token $ROOTFS prot)
- case $srvproto in
- nfs)
- # activate kernel nfs if not present, nfsroot consists now of two
- # different parts
- root_path=$(uri_token $ROOTFS path)
- nfsserver=$(uri_token $ROOTFS server)
- mkdir -p /mnt/tmp/${root_path}_${union_id}
- for proto in tcp udp fail; do
- [ $proto = "fail" ] && { error "$scfg_nfs"; break; }
- mount -n -t nfs -o ro,nolock,$proto $nfsserver:$root_path \
- /mnt/tmp/${root_path}_${union_id} && break
- done
- ;;
- *nbd)
- echo "Not working yet"
- nbdmod=$srvproto
- # get settings for nbd-client, filesystem equals to path in URI
- # notation
- nbdhost=$(uri_token $ROOTFS server)
- nbdport=$(uri_token $ROOTFS port)
- nbdrfst=$(uri_token $ROOTFS path)
- echo -e "(D)NBD $ROOTFS parsed to $srvproto - $nbdhost - \
- $nbdport - $nbdrfst" >> /tmp/testlog
- #FIXME: do mount
- ;;
- aoe)
- echo "Not implemented yet"
- ;;
- iscsi)
- echo "Not implemented yet"
- #iscsiserver=$(uri_token $ROOTFS server)
- #iscsiport=$(uri_token $ROOTFS port)
- #iscsitarget=$(uri_token $ROOTFS path)
- ;;
- esac
- if [ "X$union_type" == "XUnionFS" ]; then
- [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && \
- echo "Using unionctl to mount ${root_path}_${union_id} (type: \
- $union_type)"
- unionctl /mnt/ --add --after 1 --mode ro /mnt/tmp/${root_path}_${union_id}
- elif [ "X$union_type" == "XAUFS" ]; then
- # unionctl for aufs is a sh script needing tools not included in our
- # initramfs
- [ "$DEBUGLEVEL" -gt 2 -a "$DEBUGLEVEL" != 8 ] && \
- echo "Using aufs-mount to mount ${root_path}_${union_id} (type: $union_type)"
- mount -n -o remount,add:1:/mnt/tmp/${root_path}_${union_id}=ro none /mnt
- else
- error ${init_loadunions} nonfatal
- fi
- done
-}
-
-#############################################################################
-# dummy functions - avoid undefined functions in servconfig (functions are
-# normally overwritten by settings within distro-functions) - a file
-# generated by mkdxsinitrd from /functions-default & ~-version
-
-# setup initial boot scripts (for most standard distributions, gentoo is to
-# be handled differently)
-initial_boot () {
-:
-}
-# function for udev configuration
-config_udev () {
-:
-}
-# function for ntp configuration
-config_ntp () {
-:
-}
-# function for afs
-config_afs () {
-:
-}
-# function for atd
-config_atd () {
-:
-}
-# function for configuration of cron services
-config_cron () {
-:
-}
-# syslog service
-config_syslog () {
-:
-}
-# secure shell service
-config_sshd () {
-:
-}
-# snmp agent for remote monitoring
-config_snmp () {
-:
-}
-# consolefont
-consolefont () {
-:
-}
-# acpi and powersave
-config_acpi () {
-:
-}
-# configure hal, dbus, resmgr and services like that
-config_dreshal () {
-:
-}
-# configure automounter, simple NFSv3 imports only
-config_automount () {
-:
-}
-# configure print services / start requested printer daemon
-config_printer () {
-:
-}
-# configure bluetooth services
-config_bt () {
-:
-}
-# create a compliant runlevel script, needed for boot.slx
-d_mkrlscript () {
-:
-}
-# start name service caching daemon
-config_nscd () {
-:
-}
-# configure automounter
-config_automount () {
-:
-}
-# configure samba service (not winbind, but nmbd, smbd)
-config_samba () {
-:
-}
-# start portmapper (needed at least for nfs and nis services)
-config_portmap () {
-:
-}
-# start nis/ypbind
-config_nis () {
-:
-}
-# configure nfsv4 stuff
-config_nfsv4 () {
-:
-}
-# configure keyboard layout
-keytable () {
-:
-}
-# set up localization like keytable, console
-dlocale () {
-:
-}
diff --git a/src/initramfs/stage3-stuff/etc/ldap-functions b/src/initramfs/stage3-stuff/etc/ldap-functions
deleted file mode 100644
index d2b6753e..00000000
--- a/src/initramfs/stage3-stuff/etc/ldap-functions
+++ /dev/null
@@ -1,75 +0,0 @@
-#######################################################################
-# configuration via ldap
-# get_timeranges: helper function for ldapconf, retrieving timeranges
-# of machineconfig-objects under search base $1 (Host,Group,Default)
-get_timeranges(){
-trquery=`ldapsearch -x -H ldap://$ldapserver -b $1 -D $user -w $pwd -LLL \
-"(objectclass=machineconfig)" Timerange|sed -n '/Tim*/p'|sed 's/TimeRange: /#/'`
-}
-# matching_timerange: helper function for ldapconf to get "most
-# specific timerange" matching actual time
-matching_timerange(){
-match=0
-lines=$[`echo $trquery | sed 's/#/\n#/g'|wc -l` -1]
-for ((i=0;i<$lines;i++)) ; do
- timerange[$i]=`echo $trquery | cut -d "#" -f $[$i+2] | sed 's/ //g'`
-done
-while true ; do
- for ((i=0;i<$lines;i++)) ; do
- trday=`echo ${timerange[i]} | cut -d "_" -f 1`
- trbegin=`echo ${timerange[i]} | cut -d "_" -f 2`
- trend=`echo ${timerange[i]} | cut -d "_" -f 3`
- if [ $trday == $wday ] && [ $trday != "X" ] && [ $trbegin != "X" ] && \
- [ $trbegin -le $time ] && [ $time -le $trend ]; then
- echo $wday $time "[D H H]match ->" ${timerange[i]}
- tr=${timerange[i]}
- match=1 && break
- fi
- done
- if [ $match == 1 ] ; then break ; fi
- for ((i=0;i<$lines;i++)) ; do
- trday=`echo ${timerange[i]} | cut -d "_" -f 1`
- trbegin=`echo ${timerange[i]} | cut -d "_" -f 2`
- trend=`echo ${timerange[i]} | cut -d "_" -f 3`
- if [ $trday == $wday ] && [ $trbegin == "X" ] && [ $trend == "X" ]; then
- echo $wday $time "[D _ _]match ->" ${timerange[i]}
- tr=${timerange[i]}
- match=1 && break
- fi
- done
- if [ $match == 1 ] ; then break ; fi
- for ((i=0;i<$lines;i++)) ; do
- trday=`echo ${timerange[i]} | cut -d "_" -f 1`
- trbegin=`echo ${timerange[i]} | cut -d "_" -f 2`
- trend=`echo ${timerange[i]} | cut -d "_" -f 3`
- if [ $trday == "X" ] && [ $trbegin != "X" ] && [ $trbegin -le $time ] && \
- [ $time -le $trend ]; then
- echo $wday $time "[_ H H]match ->" ${timerange[i]}
- tr=${timerange[i]}
- match=1 && break
- else
- if [ ${timerange[$i]} == "X_X_X" ]; then
- echo $wday $time "[_ _ _]match ->" ${timerange[i]}
- tr="X_X_X" && match=1
- else
- match=0
- fi
- fi
- done
- if [ $match == 1 ] || [ $match == 0 ] ; then break ; fi
-done
-}
-# get_machineconfig: helper function for ldapconf, writing machine
-# config data of one timerange $tr into file "tmp/confvialdap/$tr"
-get_machineconfig(){
-ldapsearch -x -H ldap://$ldapserver -b $1 -D $user -w $pwd -LLL \
-"(&(objectclass=machineconfig)(timerange=$tr))"|sed '/dn:/d'|sed '/ou=/d'|\
-sed '/dc=/d'|sed '/objectC*/d'|sed '/Tim*/d'|sed '/cn:/d'|sed '/desc*/d'|sed \
-'s/: /=/g'|sed 's/-/_/g' > tmp/confvialdap/$tr
-}
-
-ldapconf () {
-local ldapserver=$1
-error "$error_ldapcfg"
-echo "not implemented" > /tmp/ldap-done
-}
diff --git a/src/initramfs/stage3-stuff/etc/messages b/src/initramfs/stage3-stuff/etc/messages
deleted file mode 100644
index ca66245d..00000000
--- a/src/initramfs/stage3-stuff/etc/messages
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright (c) 2003 - 2006 - RZ Uni Freiburg
-# Copyright (c) 2006 - 2009 - OpenSLX GmbH
-#
-# This program/file is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Messages file for all error and info messages generated during client
-# bootup (within initialramfs) for OpenSLX linux diskless clients version 5.
-# Fhis file contains the standard set of error messages.
-
-# messages from (slx) init
-init_errmsg="The functions file contains a lot of slx scripts \
-functionality. Without this\ninit script will not run."
-init_mff="The main $init_errmsg"
-init_dff="The distro $init_errmsg"
-init_sscf="The slx configuration variables could not be found. Please
-provide the slxconfig file."
-init_noeth=" Unable to configure the ethernet device (eth0). Please check \
-for an\n appropriate kernel module."
-init_errip=" Unable to setup at \
-least basic functionality, because no IP configuration\n available. You \
-might pass that information via kernel command line\n through setting of \
-'ipappend 1' in pxelinux.cfg/* or just enable dhcp\n or ldap. They are \
-enabled via tokens ('ldap' or 'dhcp') in kernel\n command line."
-init_errldap=" Unable to setup at \
-least basic functionality, because no IP configuration\n available. Please \
-beware - ldap works only in combination of either\n ipappend or similar or \
-with dhcp!"
-init_errnwad=" Failed to load the network adaptor modules added via \
-slxconfig-demuxer\n run. Please reconfigure the module list and add the \
-appropriate modules\n without *.ko suffix."
-init_bootmac=" If you have more than one ethernet adaptor present in your \
-machine or using\n a NVidia chipset then it would be advisable to switch on \
-passing of the\n boot MAC address via kernel commandline (IPAPPEND=3) in \
-your PXElinux\n configuration."
-init_nveth=" Your system uses a NVidia ethernet chip which might to fail to \
-get the\n original MAC address assigned. Use IPAPPEND=3 in your PXElinux \
-configuration\n to get the boot MAC address passed on."
-init_errdhcp=" Did not get complete IP \
-configuration via DHCP. You may want to add\n a vendor code identifier \
-via kernel commandline (vci=VCI)."
-init_erripcfg=" Up to now no IP configuration is available. If there is any \
-local file config\n the system may work locally."
-init_errbld=" Failed to load \
-module ${NBD}.ko. It is needed if you intend to use\n network block \
-device (D)NBD for the client as root filesystem."
-init_nbdcl=" Failed to start the network block device client. Unable to \
-mount root\n filesystem."
-init_nbddev=" For some reason the network block device /dev/${NBD}0 never \
-appeared.\n You might want to check udev or your list of static device \
-files."
-init_dnbd2s=" After 100 retries, it was not possible to start the dnbd2 \
-service. Please\n check that at least one server is available. You might \
-use the\n /sys/block/vnbd0 interface for this."
-init_moddir=" The requested modules or firmware directory does not exist. \
-That could mean:\n\
- * The kernel was updated but the demuxer was not run afterwards.\n\
- * The mounted filesystem does not contain the modules directory at all.\n\
- You might want to check the list of mounted filesystems and if /mnt is\n\
- not empty run 'ls /mnt/lib/modules; ls /mnt/lib/firmware' to check."
-init_loadaufs=" Loading of AUFS and/or UnionFS failed - Either the module(s) \
-are not\n present or do not match the running kernel. If you do not want to \
-see\n this message add the token(s) 'noaufs'/'nounionfs' to your kernel \
-command\n line or remove the modules from your kernel module directory."
-init_loadunions=" Stacking of directories failed, because UnionFS/AUFS is not \
-loaded."
-init_deselau=" You switched off AUFS and UnionFS via kernel commandline, thus \
-no module\n was loaded, using traditional bind mounts."
-init_loadcow=" Loading of Copy On Write (COW - special block device) module \
-failed -\n Either module is not present or module does not match the \
-running\n kernel. If you do not want to see this message remove the token \
-'cowloop' from kernel command line."
-init_cownobld=" Loading of cow module is of no sense if no network/other block \
-device is used or\n UnionFS/AUFS was specified as read write layer too. Remove \
-UnionFS/AUFS token from\n kernel commandline if cowloop should be used instead."
-init_nfs=" Mount of root filesystem via NFS was requested via kernel command \
-line\n but failed. There might be the following reasons for that:\n \
-* No nfs.ko module could be loaded and no NFS support was present in the\n \
-running kernel - see error messages above\n \
-* You tried to mount from wrong server or path ($nfsroot)\n \
-* No NFS server is running or you do not have permissions"
-init_ldcfg=" Starting ldconfig - normally switched off. Enable it via kernel \
-cmdline option\n 'noldsc'. You might have/want to add additional library \
-pathes to the\n ld.so.conf file."
-init_errlog=" Unable to create the logfile configuration in \
-/etc/${D_SYSCONFDIR}. That\n might indicate some severe error."
-init_fstab=" Failed to create /etc/fstab in the clients root filesystem. The\n\
- noexistence of the file might produce some unexpected behaviour of\n\
- mount commands."
-init_errldcfg=" For some reason the generation of ld.so.cache did not \
-finish in time."
-init_infldcfg=" You decided not to recreate \
-/etc/ld.so.cache file. That might cause errors\n if libraries are installed \
-after this file was created on server."
-init_errlfg=" The ConfTGZ filesource was some local device which was not \
-mounted successfully.\n Either the wrong device was given or the filesystem \
-is not known to the kernel."
-init_errloop=" The loopback mounting of the rootfs container failed. Either \
-the file is\n not available, unreadable or problems with the filesystem \
-modules."
-init_errcfg="of this client did not finish in\n time. You might check the \
-process list and list the modules loaded until\n now."
-init_errhw=" For some reason the hardware autoconfig $init_errcfg"
-init_errxorg=" For some reason no xorg.conf appeared, check xconfig!"
-init_errsw=" For some reason the software configuration $init_errcfg"
-init_wait=" Waited $ticks ticks to unmount kernel module or firmware \
-directory ..."
-init_errumnt=" Unmount of the kernel modules directory \
-failed for some reason. Some\n modprobe process still active!?"
-init_errsys=" Unmount of the kernel sys directory \
-failed for some\nreason. You will get some error messages that some files \
-could not be\n removed."
-init_runinit=" Could not execute run-init due to missing command or wrong\n \
-parameters given."
-init_picfg=" The plugin configuration directory is missing. This could be due \
-to failed\n config get process at the beginning of stage3 setup. Either \
-requested\n configuration file is missing in ~/client-config/ or a \
-general\n transmission error."
-
-# messages from functions
-error_msg="An error occured during execution of $0 script:\n\n"
-error_nfe="\n -> This error is not fatal - continuing ...\n"
-error_shell="\n -> Running shell for debugging purposes now ...\n"
-error_modload="Failed to load module "
-error_modnfs="needed for mounting rootfs"
-error_nodhcp=" You tried to configure system via dhcp, but no usable dhcp\n\
- client could be found. Please check that you have some client from\n\
- the following list installed: dhclient dhcpcd pump ipconfig."
-error_dhcp=" The following problems could produce that error:\n\
- * The af_packet.ko module is either not loaded nor present in kernel.\n\
- * No network device is present - either no module matching the hardware\n\
- was loaded nor present in kernel.\n You might want to run 'lsmod'."
-error_dhclient=" Fatal error occured while trying to run dhclient.\n\
-$error_dhcp"
-error_ldapcfg=" The configuration via ldap is not implemented yet."
-error_errdcfg=" Did not get any configuration data via dhcp until now ..."
-error_errfcfg=" Did not get any configuration data via tftp until now ..."
-error_errlcfg=" Did not get any configuration data via ldap until now ..."
-unpack_ConfTGZ=" Error during unpacking of the ConfTGZ archive.\nAre you sure \
-it is in proper format?"
-nomachsetup=" No machine-setup file found. You might not have gotten any \
-configuration\n from your server. You could find that out by checking if \
-/initramfs and\n /rootfs are present!"
-
-# messages from distro functions
-df_erritab=" The file /etc/inittab does not exist or is no regular one. It \
-is needed\n for the bootup procedure to follow. If upstart is used instead no \
-inittab\n is needed any more, but a proper configured events.d."
-df_errumod=" Failed to load the \"unix\" module. Problems with Hardware \
-detection\nwill probably arise."
-df_errserv="seems not to be installed or start script is\n not available\
-so requesting the start of service make no sense. Please\n disable service\
-or install the files/packages needed."
-df_errcron=" The cron start script $df_errserv"
-df_errsysl=" The syslog start script $df_errserv"
-df_errsshd=" The sshd start script $df_errserv"
-df_erryp=" The NIS client $df_errserv"
-df_errpmap=" The portmapper $df_errserv"
-df_erramnt=" Automounter $df_errserv"
-df_errnsc=" Name Service caching deamon $df_errserv\n This service might \
-be useful to take load from a ldap user directory."
-df_errafsd=" No afs directory present."
-df_errafsn=" AFS client service is not available."
-df_errkbd=" No non-english keyboard and console settings are installed. \
-Please add\n them to your stage1 to have them enabled."
-
-# messages from servconfig
-scfg_nfs=" Mount of some NFS source failed ..."
-scfg_rdate=" Your configured ntpserver does not offer time configuration \
-on port 37."
-scfg_ntptz=" No such timezone data file (needed for ntp time service \
-configuration)."
-scfg_evmlm=" Mounting of local device source for vmware directory failed \
-for some reason."
-scfg_vmdir=" For some reason the runvmware script is not available for \
-copying. That\n could be the result of failed mount or simply missing \
-file on\n server."
-scfg_vmchs=" The virtual machines lister/chooser is not available from \
-~/templates\n directory. Thus no default k/gdm menu entry is created."
-scfg_erradir=" Only one directory level is allowed to hook up automounter \
-to and the\n directory should exist (on the servers export) or should be \
-creatable\n (e.g. because of UnionFS writeable root directory)."
-scfg_country=" No configuration for localization found in config file. \
-Using default\n country setting '${D_DEFAULTCOUNTRY}' defined in $0."
-
-# messages from hwautocfg
-hcfg_hwsetup=" The X server configuration file generated by hwautocfg could \
-not\n be found."
-gfx_msg="Please check your graphic adaptor settings ($hw_graphic)."
-hw_msg=" Please check your predefined monitor settings ($hw_monitor): \
-Automatic\n configuration of display"
-hcfg_res=" $hwmsg resolution was attempted but not established. Using \
-default resolutions (defined in xconfig)"
-hcfg_hwsetup=" Expected information from hwsetup to appear in \
-/tmp/hwsetup.info.\n Unable to configure parts of the systems hardware. \
-Please check that\n hwsetup is properly installed and executable."
-hcfg_keyb=" No settings found for keyboard, using default of '${XKEYBOARD}' \
-defined\n in $0."
-
diff --git a/src/initramfs/stage3-stuff/etc/messages.de b/src/initramfs/stage3-stuff/etc/messages.de
deleted file mode 100644
index 487332d7..00000000
--- a/src/initramfs/stage3-stuff/etc/messages.de
+++ /dev/null
@@ -1,215 +0,0 @@
-# Copyright (c) 2003 - 2006 - RZ Uni Freiburg
-# Copyright (c) 2006 - 2010 - OpenSLX GmbH
-#
-# This program/file is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Messages file for all error and info messages generated during client
-# bootup (within initialramfs) for OpenSLX linux diskless clients version 5
-# this file could be used for localization of error messages.
-
-# messages from (slx) init / Fehlermeldungen des SLX init
-init_errmsg=" ,,functions''-Datei beinhaltet viele Funktionen \
-der SLX Skripte. Ohne diese\n wird das Init-Skript nicht funktionieren."
-init_mff=" Die Haupt $init_errmsg"
-init_dff=" Die Distro $init_errmsg"
-init_sscf=" Die SLX Konfigurations-Variablen wurden nicht gefunden.
-Bitte stellen Sie die\n SLX Konfigurations-Datei zur Verfuegung."
-init_noeth=" Konnte die Netzwerk-Schnittstelle nicht konfigurieren (eth0).\
- Bitte pruefen,\n ob das geeignete kernel-Modul vorhanden ist."
-init_errip=" Konnte die Grund-Funktionalitaet nicht einrichten, \
-da keine IP-Konfigurationen\n vorhanden sind. Sie koennten diese \
-Informationen ueber die Kernel-Command-Line\n durch die Einstellung \
-'ipappend 1' in pxelinux.cfg/* oder ldap\n aktivieren. Sie werden durch \
-Token ('ldap') in den Kernel Start Optionen\n eingeschaltet."
-init_errldap=" Konnte nicht wenigstens die Grund-Funktionalitaet einrichten, \
-da keine IP-Konfigurationen\n vorhanden sind. Achtung - ldap arbeitet nur in \
-Kombination mit IPAPPEND (PXE)\n o.ae. oder DHCP!"
-init_errnwad=" Konnte die Netzwerk-Adapter, die durch den slx/mkramfs bzw. \
-mkdxsinitrd-Aufruf definiert\n wurden, nicht laden. Bitte erneut aufrufen \
-und die passenden Module auflisten\n (ohne Endung .ko)."
-init_bootmac=" Es scheint mehr als eine Ethernet-Karte installiert und die \
-passenden\n Kernel-Module geladen zu sein. Das kann fuer Probleme sorgen, da \
-evtl.\n die nicht verbundene Netzwerkkarte als das erste Interface konfiguriert\
- \n wurde. Durch die Uebergabe der MAC Adresse des Bootdevices (IPAPPEND=3 in
-der PXElinux-Konfiguration) laesst sich dieses vermeiden."
-init_nveth=" Ihr System benutzt anscheinend eine NVidia-Netzwerkkarte. Hier \
-kann es\n vorkommen, dass die MAC-Adresse nicht korrekt eingestellt wird. \
-Dieses laesst\n sich durch die Uebergabe der MAC Adresse des Bootdevices \
-(IPAPPEND=3 in der PXElinux-Konfiguration) vermeiden."
-init_errdhcp=" Keine komplette IP-Konfiguration ueber DHCP bekommen. \
-Eventuell sollten Sie\n ueber die Kernel Start Optionen eine Hersteller Code \
-ID (vendor code identifier)\n (VCI=vci) hinzufuegen."
-init_erripcfg=" Bis zu diesem Zeitpunkt konnte keine (gueltige) IP.\
-Konfiguration beschafft\n werden. Die Maschine kann funktionieren, wenn \
-lokale Konfiguration per\n Datei moeglich ist."
-init_errbld=" Konnte nicht das Modul ${NBD}.ko laden. Es wird gebraucht, \
-wenn Sie vorhaben, das\n Netzwerk Block Geraet (network block device) (D)NBD \
-fuer den Klienten als Wurzel-Dateisystem zu verwenden."
-init_nbdcl=" Konnte den Network Block Geraete-Dienst nicht starten und damit \
-das Wurzel-Dateisystem\n nicht einhaengen."
-init_nbddev=" Aus irgendeinem Grund ist /dev/${NBD}0 nie erschienen. Sie \
-sollten ihr udev-System\n nach Listen von statischen Geraeten untersuchen."
-init_dnbd2s=" Nach 100 Versuchen konnte das dnbd2 Blockdevice keinen laufenden \
-Server finden.\n Bitte ueberpruefen Sie die Erreichbarkeit."
-init_moddir=" Das angeforderte Modul- bzw. Firmware-Verzeichnis existiert \
-nicht. Das\n koennte bedeuten:\n\
- * Der Kernel wurde ausgetauscht/erneuert ohne einen neuen Aufruf \
-von slxmkramfs oder\n mkdxsinitrd.\n * Das eingehaengte Dateisystem \
-beinhaltet das Modul-Verzeichnis ueberhaupt nicht.\n Sie sollten die Liste \
-der eingehaengten Dateisysteme pruefen und wenn /mnt\n nicht leer ist, \
-'ls /mnt/lib/modules' ausfuehren."
-init_loadunions=" Stapeln mehrerer Verzeichnisse nicht moeglich, da kein \
-UnionFS/AUFS\n Modul geladen ist."
-init_loadaufs=" Laden von AUFS/UnionFS schlug fehl - entweder das Modul ist \
-nicht vorhanden, oder\n es passt nicht zum laufenden Kernel. Wenn Sie diese \
-Meldung nicht sehen\n wollen, fügen Sie das Token 'noaufs'/'nounionfs' den \
-Kernel Start\n Optionen hinzu oder loeschen Sie die Module."
-init_deselau=" Sie haben AUFS und UnionFS mittels Kernel-Commandline \
-ausgeschaltet, deshalb\n wurde kein entsprechendes Kernel-Modul geladen."
-init_loadcow=" Laden von Copy On Write (COW - Spezielles Block Geraet) Modul \
-schlug fehl -\n entweder das Modul nicht praesent oder es passt nicht zum \
-laufenden\n Kernel. Wenn Sie diese Meldung nicht sehen wollen, entfernen sie \
-das Token 'cowloop' aus den Kernel Start Optionen."
-init_loadufs=" Laden von UnionFS schlug fehl - entweder das Modul ist \
-nicht vorhanden, oder\n es passt nicht zum laufenden Kernel. Wenn Sie diese \
-Meldung nicht mehr sehen\n wollen, entfernen Sie das Token 'unionfs' von den \
-Kernel Start Optionen."
-init_cownonbd=" Laden des COW-Moduls ist sinnlos, wenn kein Netzwerk Block \
-Geraet benutzt wird oder\n UnionFS als Lese- Schreib-Schicht spezifiziert \
-wurde. Entfernen Sie das UnionFS Token aus\n den Kernel-Start-Optionen wenn \
-'cowloop' stattdessen verwendet werden soll."
-init_nfs=" Einhaengen des Wurzel Dateisystems ueber NFS wurde angefordert \
-durch die Kernel Start Optionen,\n aber schlug fehl. Die folgenden Gruende \
-koennten verantwortlich sein:\n\
- * Kein nfs.ko (und weitere dafuer benoetigte) Modul konnte geladen werden und \
-keine NFS Unterstuetzung war im\n laufenden Kernel vorhanden - siehe \
-Fehlermeldungen darueber.\n\
- * Sie versuchten, einen falschen Pfad einzuhaengen ($nfsroot).\n\
- * Kein NFS-Server laeuft oder Sie haben nicht die Zugriffsberechtigungen auf \
-diesen."
-init_ldcfg=" Starte ldconfig - normalerweise ausgeschaltet. Wird mit der Kernel \
-Start Option\n 'noldsc' aktiviert. Eventuell sollten Sie zusaetzliche \
-Bibliothekspfade\n zur ld.so.conf hinzufuegen."
-init_errlog=" Konnte die Log-Datei Konfiguration nicht anlegen in \
-/etc/${D_SYSCONFDIR}. Das\n koennte auf schwerwiegende Fehler hindeuten."
-init_fstab="Das Erzeugen von /etc/fstab im Wurzel-Dateisystem des Clients \
-schlug fehl.\n Die Abwesenheit dieser Datei koennte unvorhergesehenes Verhalten \
-der mount-Befehle\n verursachen."
-init_errldcfg=" Aus irgendeinem Grund konnte die Erstellung von ld.so.cache \
-nicht rechtzeitig fertiggestellt\n werden."
-init_infldcfg=" Sie entschieden sich, die Datei /etc/ld.so.cache nicht neu \
-zu erstellen. Das koennte Fehler verursachen\n wenn Bibliotheken installiert \
-werden nachdem diese Datei auf dem Server erstellt wurde."
-init_errlfg=" Die ConfTGZ Quelle war ein lokales Device, welches nicht korrekt \
-eingebunden werden\n konnte. Entweder wurde das falsche Device/Partition \
-angegeben oder das\n Dateisystem ist dem Kernel nicht bekannt."
-init_errloop=" Der Loopback-Mounting des Rootfilesystem-Containers schlug \
-fehl. Entweder\n die Datei existiert nicht, ist unlesbar oder es gibt \
-Probleme mit\n den Filesystem-Modulen."
-init_errcfg="des Clients nicht rechtzeitig beendet\n Sie sollten die Prozess \
-Liste pruefen und die Module, die bis zum jetzigen Zeitpunkt geladen wurden."
-init_errhw=" Aus irgendeinem Grund wurde die Hardware Auto-Konfiguration \
-$init_errcfg"
-init_errsw=" Aus irgendeinem Grund wurde die Software Konfiguration $init_errcfg"
-init_wait=" Wartete $i Zeiteinheiten das Kernel-Modul- bzw. Firmware-Verzeichnis \
-auszuhaengen ..."
-init_errumnt=" Das Kernel Modul Verzeichnis auszuhaengen \
-scheiterte aus irgendeinem Grund. Sind einige\n ,,modprobe'' noch aktiv!?"
-init_errsys=" Aushaengen des Kernel /sys Verzeichnisses schlug aus irgendeinem \
-Grund\n fehl. Sie werden einige Fehlermeldungen bekommen,\
-\ndass einige Dateien nicht entfernt werden konnten."
-init_runinit=" Konnte switch_root/run-init nicht ausfuehren, wegen fehlender \
-Befehle\n oder falsch angegebenen Parametern."
-init_picfg=" Das Plugin-Konfigurationsverzeichnis fehlt. Dieses könnte an einem \
-fehlgeschlagenen\n holen der Client-Konfiguration liegen, weil entweder die \
-Datei nicht auf\n dem Server verfuegbar ist oder der Transport nicht klappte."
-
-# messages from functions
-error_msg="Ein Fehler trat auf waehrend der Ausfuehrung des $0 Skripts:\n\n"
-error_nfe="\n -> Dieser Fehler ist nicht schwerwiegend - setze fort ...\n"
-error_shell="\n -> Fuehre Shell aus zum Debuggen ...\n"
-error_modload="Es schlug fehl, folgendes Modul zu laden:"
-error_modnfs="gebraucht zum einhaengen des Wurzel Dateisystems"
-error_nodhcp=" Sie versuchten ihr System mittels DHCP einzurichten, es wurde \
-aber kein brauchbarer DHCP\n Client gefunden. Bitte pruefen Sie, ob sie einen \
-der folgenden Clients\n installiert haben: dhclient dhcpcd pump udhcpc."
-error_dhcp=" Die folgenden Probleme koennten den Fehler verursachen:\n\
- * Das af_packet.ko Modul ist weder geladen noch praesent im Kernel.\n\
- * Kein Netzwerk Geraet ist praesent - weder ein passendes Modul\n\
- wurde geladen noch ist praesent im laufenden Kernel.\n Sie sollten \
-'lsmod' ausfuehren."
-error_dhclient=" Schwerer Fehler aufgetreten beim Aufrufen von dhclient.\n\
-$error_dhcp"
-error_ldapcfg=" Die Konfiguration via ldap ist noch nicht implementiert."
-error_errdcfg=" Bis jetzt noch keine Konfigurationsdaten bekommen via dhcp .."
-error_errfcfg=" Bis jetzt noch keine Konfigurationsdaten bekommen via tftp ..."
-error_errlcfg=" Bis jetzt noch keine Konfigurationsdaten bekommen via ldap ..."
-unpack_ConfTGZ=" Fehler beim entpacken des ConfTGZ.\nSind Sie sicher, dass es im \
-richtigen Format ist?"
-nomachsetup=" Die Datei machine-setup nicht gefunden. Es koennte sein, dass das \
-Konfigurations-\n paket nicht erfolgreich vom Server beschafft wurde. Das \
-erkennen Sie daran,\n dass die Verzeichnisse /initramfs, /rootfs angelegt \
-wurden. Ihr\n OpenSLX Client wird deshalb nicht wie erwartet funktionieren."
-
-# messages from distro functions
-df_erritab=" Die Datei /etc/inittab existiert nicht oder ist keine regulaere. \
-\n Sie wird fuer den Boot-Process benoetigt."
-df_errumod=" Das Laden des \"unix\" Moduls schlug fehl. \nWahrscheinlich \
-werden Probleme bei der Hardware-Erkennung auftreten."
-df_errserv="ist entweder nicht installiert oder das Start-Skript ist nicht \
-verfuegbar.\n Deswegen macht der Start des Dienstes keinen Sinn. Bitte \
-deaktivieren Sie den Start\n oder installieren Sie die benoetigten Dateien."
-df_errcron=" Das cron Start-Skript $df_errserv"
-df_errsysl=" Das syslog Start-Skript $df_errserv"
-df_errsshd=" Das sshd Start-Skript $df_errserv"
-df_erryp=" Der NIS-Klient $df_errserv"
-df_errpmap=" Der Portmapper $df_errserv"
-df_erramnt=" Der Automounter $df_errserv"
-df_errnsc=" Der Name Service Zwischenspeicherungs Daemon $df_errserv\n \
-Dieser Dienst koennte nuetzlich sein, um Daten von einem ldap Benutzer-\
-Verzeichnis zu bekommen."
-df_errafsd=" Kein AFS Verzeichnis erreichbar"
-df_errafsn=" Der AFS-Client Dienst ist nicht verfuegbar"
-df_errkbd=" Keine nicht-englische Tastatur und/oder Konsolenunterstuetzung \
-installiert.\n Falls gewuenscht/benoetigt diese im Stage1 nachinstallieren!"
-
-# messages from servconfig
-scfg_nfs=" Das Einhaengen einer NFS Quelle schlug fehl..."
-scfg_ntptz=" Die Zeitzonen-Datei wurde nicht gefunden (gebraucht fuer die \
-NTP-Zeit Dienst Konfiguration)."
-scfg_evmlm=" Das Einbinden der lokalen Festplatte(npartition) des VMware-\
-Image-Verzeichnisses\n schlug fehl."
-scfg_vmdir=" Aus irgendeinem Grund kann das runvmware Skript nicht \
-verfuegbar zu kopieren.\n Das koennte das Ergebnis eines fehlgeschlagenen \
-Mount-Versuchs sein\n oder die Datei fehlt auf dem Server."
-scfg_vmchs=" Das Auswahltool/menu fuer Virtuelle Machinen ist nicht im \
-~/templates\n Verzeichnis vorhanden. Deshalb wurde kein Default KDM Menu \
-Eintrag erzeugt."
-scfg_erradir=" Es wird nur eine Verzeichnis-Ebene erlaubt, den Automounter \
-zu installieren und das\n Verzeichnis sollte existieren (auf dem \
-Server-Export) oder sollte anlegbar sein\n (z.B. durch UnionFS beschreibbares \
-Wurzel-Verzeichnis)."
-scfg_country=" Keine Konfiguration fuer die Lokalisierung gefunden in der \
-Konfigurations-Datei. Benutzer\n Standard Laender-Einstellung \
-'${D_DEFAULTCOUNTRY}' definiert in $0."
-
-# messages from hwautocfg
-hcfg_hwsetup=" Die xserver-Konfigurations-Datei, erstellt von hwsetup, konnte \
-nicht\n gefunden werden."
-gfx_msg="Bitte pruefen Sie ihre Grafik-Adapter-Einstellungen ($hw_graphic)."
-hw_msg=" Bitte pruefen Sie ihre vordefinierten Monitor-Einstellungen ($hw_monitor): \
-Automatische\n Konfiguration des Bildschirms."
-hcfg_res=" $hwmsg Aufloesung wurde versucht aber nicht eingerichtet. Benutze \
-Standard-Aufloesungen (defined in xconfig)"
-hcfg_hwsetup=" Erwartete Informationen von hwsetup in \
-/tmp/hwsetup.info.\n Teile des Systems koennen nicht eingerichtet werden. \
-Bitte pruefen, dass\n hwsetup richtig installiert und ausfuehrbar ist."
-hcfg_keyb=" Keine Einstellungen fuer ihre Tastatur gefunden, verwende den \
-Standard-Wert '${XKEYBOARD}' definiert\n in $0."
-
diff --git a/src/initramfs/stage3-stuff/init b/src/initramfs/stage3-stuff/init
deleted file mode 100755
index ec0e815f..00000000
--- a/src/initramfs/stage3-stuff/init
+++ /dev/null
@@ -1,1034 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2003..2006 - RZ Uni Freiburg
-# Copyright (c) 2006..2010 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Main script for initial ramfs for OpenSLX linux stateless clients
-#############################################################################
-
-# fixme: the primary init script should never fail, so move all critical code
-# into sub script calls (see ticket 259)
-
-export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
-
-# device files get their own filesystem (to be move mounted later)
-devdir="/dev"
-mount -n -t tmpfs -o 'size=25%,mode=0755' initramfsdevs ${devdir}
-
-# mount the important standard directories
-[ ! -f /proc/cpuinfo ] && mount -n -t proc proc /proc
-[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
-
-# create basic device files an directories (in dev - for most hardware related
-# devices mdev should handle that)
-for i in "/dev/mem c 1 1" "/dev/null c 1 3" "/dev/zero c 1 5" \
- "/dev/urandom c 1 9" "/dev/kmsg c 1 11" "/dev/tty0 c 4 0" \
- "/dev/tty1 c 4 1" "/dev/tty2 c 4 2" "/dev/tty3 c 4 3" \
- "/dev/tty4 c 4 4" "/dev/tty5 c 4 5" "/dev/tty6 c 4 6" \
- "/dev/tty7 c 4 7" "/dev/tty8 c 4 8" "/dev/tty9 c 4 9" \
- "/dev/tty10 c 4 10" "/dev/tty c 5 0" "/dev/console c 5 1" \
- "/dev/ptmx c 5 2" "/dev/psaux c 10 1" "/dev/agpgart c 10 175" \
- "/dev/fb0 c 29 0" "/dev/xconsole p"; do
- mknod $i
-done
-mkdir -p ${devdir}/pts ${devdir}/shm ${devdir}/.udevdb ${devdir}/.udev \
- ${devdir}/.initramfs /var/log
-# create some standard links (expected?) in /dev
-ln -s /proc/kcore /dev/core
-ln -s /proc/self/fd /dev/fd
-ln -s /proc/self/fd/0 /dev/stdin
-ln -s /proc/self/fd/1 /dev/stdout
-ln -s /proc/self/fd/2 /dev/stderr
-
-# redirect kernel messages to tty10 instead of the standard console
-getty -i -n -l /bin/cat 38400 tty10 &
-setlogcons 10
-
-# start device auto discovery/setup service of busybox
-echo >/etc/mdev.conf
-mdev -s
-
-# source functions file common for all distros, messages contains all error
-# and info output (for some reason the error output is not produced properly
-# - crash)
-
-# how do the localization here? There is not yet a country-Variable
-. /etc/messages
-. /etc/functions || ( echo -e $init_mff && sleep 100 )
-. /etc/distro-functions || ( echo -e $init_dff && sleep 100 )
-
-# configuration settings for this slx system's environment
-. /etc/slxsystem.conf 2>/dev/null || ( echo -e ${init_sscf} && \
- sleep 100 )
-# initramfs-setup configuration (common initial settings for all clients using
-# a certain InitRamFS generated by slxconfig-demuxer)
-[ -f /etc/initramfs-setup ] && . /etc/initramfs-setup 2>/dev/null
-
-export date="${slxconf_date}"
-
-export DEBUGLEVEL=0
-export KERNEL="${slxconf_kernver}"
-export NWMODULES="${slxconf_listnwmod}"
-export DISTRO_NAME="${slxconf_distro_name}"
-export DISTRO_VER="${slxconf_distro_ver}"
-export SYSTEM_NAME="${slxconf_system_name}"
-export SLXVERSION="${slxconf_slxver}"
-
-# do not use dnbd cache file
-nodnbdcache="yes"
-
-# set a default LAN interface, might be modified for WLAN, bridge setups or
-# on machines with more than one ethernet card built in
-export nwif="eth0"
-
-# load usb modules for keyboard (reenable usb keyboards, otherwise the
-# admin has to wait until second run of hwsetup late in stage3) and the
-# network adaptor modules, search for pci modules to load later on
-hwautocfg base
-
-# if no kernel version is set, try to get it directly from /proc
-if [ -z $KERNEL ] ; then
- KERNEL=$(cat /proc/version)
- KERNEL=${KERNEL#*version }
- KERNEL=${KERNEL% (*) (*}
-fi
-
-# set defaults for some important variables, might be overwritten via
-# kernel commandline
-tmpfssize="$(expr $(grep -i "memtotal" /proc/meminfo | awk '{print $2}') \
- / 100 \* 75 - 128000)k" # in kbyte
-cowsize="50%"
-rwdir=/dev/shm
-nfsro="nfs"
-aufs=1
-unionfs=1
-
-runinithook '00-started'
-
-# run pre init script and user defined preinit.local, copied by mkdxsinitrd
-# from /var/lib/openslx/config/... in stage2
-preinit
-[ -x /bin/preinit.local ] && /bin/preinit.local
-
-
-# switch off the several configuration methods, will be switched on
-# according to kernel commandline settings
-echo "noldap" > /tmp/ldap-done
-
-# external configuration file retrieval (per tftp) must be done, as otherwise
-# we will never get the initramfs-setup file. By default, we try a predefined
-# standard path (.../tftpboot/client-config/ ...)
-file="yes"
-
-# read kernel commandline
-read KCMDLINE < /proc/cmdline
-export KCMDLINE
-# read the system wide initramfs-setup and then the kernel commandline
-for opts in $(sed "s/#.*//" /etc/initramfs-setup) ${KCMDLINE} ; do
- case ${opts} in
- # shut down pc
- shutdown)
- cat </proc/sysrq-trigger
- ;;
- # from IPAPPEND
- BOOTIF=*)
- bootmac=$(echo ${opts} | sed "s/.*=01-//;s/-/:/g")
- ;;
- # localization
- country=*)
- COUNTRY=${opts#country=}
- grep -q -E "country=" /etc/initramfs-setup &&
- echo -e "\n# localization information gotten via kernel command line \
-in $0\ncountry=\"${COUNTRY}\"" >>/etc/initramfs-setup
- ;;
- # single token for debugging ...
- debug)
- DEBUGLEVEL=1
- ;;
- # ... or a specified debug level
- debug=*)
- DEBUGLEVEL=${opts#debug=}
- if [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] ; then
- echo "** SLX init started near $(sysup)"
- elif [ $DEBUGLEVEL -ge 3 -a $DEBUGLEVEL -le 20 ] ; then
- # create, start a debug shell process
- echo "Debug shell started on second console (tty2)"
- echo -e "#!/bin/sh\nsh" >/bin/debugshell
- chmod u+x /bin/debugshell
- getty -i -n -l /bin/debugshell 38400 tty2 &
- # start logging (debuglevel >=3)
- # fixme: SuSE hangs in Creating /var/log/boot.msg if activated
- echo "Syslogd started on third console (tty3)"
- # just to have some name in syslog
- echo "(slx init)" >/proc/sys/kernel/hostname
- syslogd -C2048
- klogd
- logread -f > /dev/tty3 2>/dev/null &
- logread -f >> /var/log/messages 2>/dev/null &
- fi
- ;;
- # if configuration should not be gathered by dhcp client
- nodhcp)
- nodhcp="yes"
- echo "nodhcp" >/tmp/dhcp-done
- ;;
- nofile)
- unset file
- echo "nofile" >/tmp/file-done
- ;;
- # if ldap configuration should be triggered
- ldap)
- ldap="yes"
- rm /tmp/ldap-done
- ;;
- # ldap configuration with host and port to contact (base)
- ldap=*)
- ldap="yes"
- rm /tmp/ldap-done
- ;;
- # file source with tftp server and file location on the server
- file=*|file)
- if [ "${opts}" != "file" ] ; then
- fileprot=$(uri_token ${opts#file=} prot)
- fileserv=$(uri_token ${opts#file=} server)
- filepath=$(uri_token ${opts#file=} path)
- fi
- ;;
- # if ld.so.cache should be generated; should be switched on when composing
- # rootfs from more than one source
- ldsc)
- ldsc="yes";;
- # simple union of base ro rootdir with tempfs on top
- nounionfs)
- unionfs=0;;
- # additional source to unify root filesystem with; the top layer will be
- # the tempfs
- unionfs=*)
- unionfs=1
- uniondirs=${opts#unionfs=}
- # most probably it is a good idea to run ldconfig, so enable it
- ldsc="yes"
- ;;
- # same for AUFS; alternative to unionfs
- noaufs)
- aufs=0;;
- aufs=*)
- aufs=1
- uniondirs=${opts#aufs=}
- # most probably it is a good idea to run ldconfig, so enable it
- ldsc="yes"
- ;;
- # if cowloop should be used, only ontop of network block device and in
- # combination with classical fs, like ext2 useful
- cowloop=*)
- cowloop=1
- #cowsize=${opts#cowloop=}
- ;;
- # rootfs will void the variables (d)nbdroot, nfsroot ...
- # fixme: allow multiple rootfs sources to be unioned!?
- # if strinstr " " "$rootfs" ...
- rootfs=*)
- rootfs=${opts#rootfs=}
- rootfs=${rootfs#\"}
- rootfs=${rootfs%%\"}
- srvproto=$(uri_token $rootfs prot)
- case $srvproto in
- nfs)
- # nfsroot consists of two components
- nfspath=$(uri_token $rootfs path)
- nfsserver=$(uri_token $rootfs server)
- grep -q -E "nfsserver" /etc/initramfs-setup || \
- echo -e "# nfs root information gotten via kernel command \
-line in $0\nnfsserver=\"${nfsserver}\"\nnfspath=\"${nfspath}\"" \
- >>/etc/initramfs-setup
- ;;
- *nbd*)
- bldmod=$srvproto
- # get settings for nbd-client, filesystem equals to path in URI
- # notation (remove leading slash from filesystem at the end)
- bldhost=$(uri_token $rootfs server)
- bldport=$(uri_token $rootfs port)
- bldrfst=$(uri_token $rootfs path)
- bldrfst=${bldrfst#/*}
- ;;
- aoe)
- echo "Not implemented yet"
- bldmod=
- ;;
- iscsi)
- echo "Not implemented yet"
- bldmod=
- #iscsiserver=$(uri_token $rootfs server)
- #iscsiport=$(uri_token $rootfs port)
- #iscsitarget=$(uri_token $rootfs path)
- ;;
- lbd)
- # use a local device for mounting root block device with given
- # filesystem directly or a root filesystem container from another
- # filesystem, e.g. rootfs=lbd://sda1/squashfs (bldmod cannot be
- # empty, use loop or the real device stuff)
- bldmod=loop
- blddev=$(uri_token $rootfs server)
- bldfst=$(uri_token $rootfs path)
- bldfst=${bldfst#/*}
- ;;
- esac
- ;;
- # size of cache dnbd should use within ram
- dcsize=*)
- dnbdcachesize=${opts#dcsize=};;
- # ip configuration client-ip:server-ip:gateway:netmask
- ip=*)
- ipinfo=${opts#ip=};;
- # deprecated: nfs server and path (rewritten to standard style)
- nfsroot=*)
- srvproto=nfs
- nfsroot=${opts#nfsroot=}
- nfspath=${nfsroot#*:}
- nfsserver=${nfsroot%:/*}
- grep -q -E "nfsserver" /etc/initramfs-setup || \
- echo -e "\n# nfs root information gotten via kernel command line \n\
-in $0\n# deprecated: please use rootfs=nfs://...\nnfsserver=\"${nfsserver}\"\
-\nnfspath=\"${nfspath}\"">> /etc/initramfs-setup
- ;;
- # size of tempfs if not max. 50% of RAM should be used
- tmpfssize=*)
- tmpfssize=${opts#tmpfssize=};;
- # vendor code identifier for dhcp requests, that way OpenSLX clients could
- # be distinguished from other (dhcp) clients
- vci=*)
- vci=${opts#vci=};;
- # option for ddcinfo
- ddcinfo=*)
- ddcinfo=${opts#ddcinfo=};;
- esac
-done
-
-runinithook '05-have-kernelvars'
-
-# at this point a timer should be started to ensure an automated reboot
-# or halt of the machine if SLX init does not succeed (e.g. missing kernel
-# module for the network adaptor)
-if [ ${DEBUGLEVEL} -lt 3 -o ${DEBUGLEVEL} = 8 ] ; then
- cat< /bin/watchdog
-#!/bin/sh
-echo \$$ > /tmp/watchdogpid
-[ ! -f /proc/version ] && mount -n -t proc proc /proc
-sleep 120 2> /dev/null
-echo "o" > /proc/sysrq-trigger
-EOF
- chmod u+x /bin/watchdog
- watchdog &
-fi
-
-# check if at least one type of IP configuration is availabe
-if [ -n "$nodhcp" -a -z "$ldap" -a -z "$ipinfo" -a $srvproto != "lbd" ]
- then echo -e "# You did not specify any advanced configuration mode for \
-your clients. You\n# might want to add the token 'dhcp' for DHCP config, \
-'file(=source)'\n# for config file get via TFTP or 'ldap(=source)' for LDAP \
-configuration to\n# your kernel command line." >> /etc/initramfs-setup
- if strinfile "clientip" /etc/initramfs-setup ; then
- # IP configuration seems to be present in initramfs-setup file
- # TODO: FIX this, as it will clobber all kernel-cmdline values!
- . /etc/initramfs-setup
- ipinfo="ip=$clientip:$serverip:$gateway:$subnet_mask"
- else
- error "$init_errip"
- fi
-fi
-
-# for ldap configuration at least basic IP setup is needed to contact the
-# server
-[ -n "$nodhcp" -a -n "$ldap" -a -z "$ipinfo" ] && error "$init_errldap"
-# set debug level and logfile
-if [ $DEBUGLEVEL -eq 20 ] ; then
- echo "** Setting debuglevel to ${DEBUGLEVEL} at $(sysup)"
-elif [ $DEBUGLEVEL -ne 0 ] ; then
- echo "Setting debuglevel to ${DEBUGLEVEL}"
-fi
-export MODPRV=" "
-export LOGFILE
-if [ "${DEBUGLEVEL}" -gt 0 -a "${DEBUGLEVEL}" != 8 ] ; then
- # set LOGFILE and move it later on into stage4
- LOGFILE="/var/log/slx-boot.log"
- echo "Starting OpenSLX client boot logging at $(date)" >$LOGFILE
- echo "1 4 1 7" >/proc/sys/kernel/printk
- [ "${DEBUGLEVEL}" -ge 2 ] && MODPRV="-v"
- [ "${DEBUGLEVEL}" -gt 3 -a "${DEBUGLEVEL}" -le 10 ] && {
- set -x
- # and the kernel too
- echo "7 7 7 7" >/proc/sys/kernel/printk; }
- [ "${DEBUGLEVEL}" -gt 10 -a "${DEBUGLEVEL}" -le 20 ] && set +x
-else
- # switch off most of kernel debug output
- echo "0 0 0 0" >/proc/sys/kernel/printk
- # modprobe should stay quiet
- MODPRV="-q"
- LOGFILE="/dev/null"
-fi
-
-runinithook '10-nw-if-config'
-
-# check for multiple ethernet interfaces (we have at least the mac of PXE boot
-# device in $bootmac)
-# check here for the active ethernet link (skip non-ethN interfaces)
-if strinstr "eth" "$nwif" ; then
- for ethif in eth0 eth1 eth2 eth3 ; do
- export macaddr=$(ip link show dev $ethif 2>/dev/null | \
- grep -i link.ether | awk '{print $2}')
- # if there is no bootmac present in kernel commandline any checks are
- # useless
- if [ -z "$bootmac" ] ; then
- bootmac="$macaddr"
- [ "$ethif" != "eth0" ] && error "$init_bootmac" nonfatal
- fi
- if [ "$macaddr" = "$bootmac" ] ; then
- nwif=$ethif
- break
- elif [ "x$macaddr" = "x" ] ; then
- # if the macaddr is empty on the first interface tried, there is no
- # network adaptor visible (missing kernel module)
- if [ "$ethif" = "eth0" ] ; then
- error "$init_errnwad"
- else
- # assume a forcedeth problem here (nonmatching MACs)
- macaddr=${bootmac}
- fi
- break
- fi
- done
-fi
-# quickfix for proper nwif passing ... (to be fixed in a more general way)
-sed "s/nwif=.*/nwif=\"${nwif}\"/" -i /tmp/env/wrapper.env
-oldnwif=$nwif
-# hook to setup bridging (several virtualization tools ...
-runinithook '20-nw-bridge-config'
-
-# set up loopback networking
-[ $DEBUGLEVEL -eq 20 ] && echo "** starting ip config at $(sysup)"
-ip link set dev lo up 2>/dev/null
-ip addr add 127.0.0.1/8 dev lo 2>/dev/null
-ip link set dev $nwif up 2>/dev/null || error "$init_noeth"
-
-# analyze ip information from the kernel command line and put parts
-# of it into several variables
-if [ -n "$ipinfo" ] ; then
- getip () {
- local val="$ipinfo:"; i=$(($1 - 1));
- while [ $i -gt 0 ] ; do
- val=${val#*:} ; i=$(($i - 1));
- done;
- echo $val|sed "s/:.*//"; }
- clientip=$(getip 1)
- serverip=$(getip 2)
- gateway=$(getip 3)
- subnet_mask=$(getip 4)
- broadcast_address=$(ipcalc -s -b $clientip $subnet_mask|sed s/.*=//)
- [ -z "$broadcast_address" ] && broadcast_address=255.255.255.255
- # we might have an idea of the dns server via preboot
- dns_srv=$(getip 5)
- [ -n "$dns_srv" ] && echo nameserver $dns_srv >/etc/resolv.conf;
- echo -e "# ip configuration written by $0 script:\nclientip=$clientip\n\
-subnet_mask=$subnet_mask\ngateway=$gateway\nserverip=$serverip\n\
-broadcast_address=$broadcast_address" >>/etc/initramfs-setup
- # set static ip address
- ip addr add $clientip/$(ipcalc -s -p $clientip $subnet_mask|sed s/.*=//) \
- broadcast $broadcast_address dev $nwif 2>/dev/null
- ip route add default via $gateway 2>/dev/null
-else
- noipyet="yes"
-fi
-# get configuration data via dhcp (with vendor code identifier if present
-# in ${vci} from kernel command line or initramfs-setup) ...
-if [ -z "$nodhcp" ] ; then
- ( rundhcp ${vci}; echo "dhcp finished at $(sysup)" >/tmp/dhcp-done ) &
- if [ -n "$noipyet" ] ; then
- waitfor /tmp/dhcp-done 20000
- . /tmp/confviadhcp
- # by now there should be a proper ip configuration present
- if [ -z "$clientip" -o -z "$subnet_mask" -o -z "$broadcast_address" ]
- then error "$init_errdhcp"
- else
- { ip addr add \
- $clientip/$(ipcalc -s -p $clientip $subnet_mask|sed s/.*=//) \
- broadcast $broadcast_address dev $nwif 2>/dev/null || \
- error "$init_erripcfg"; }
- # if gateway is available set it
- [ -n $gateway ] && ip route add default via $gateway 2>/dev/null
- fi
- # fixme: to be checked!!
- # else
- # if [ -n "$file" -a "$srvproto" = "lbd" ] ; then
- # error "$init_erripcfg" nonfatal
- # else
- # error "$init_erripcfg"
- # fi
- # fi
- fi
-fi
-# check if serverip is set as variable @@@serverip@@@
-sed "s,@@@serverip@@@,$serverip," -i /etc/initramfs-setup
-[ $DEBUGLEVEL -eq 20 ] && echo "** finished ip config at $(sysup)"
-
-# on some network adaptors we need to wait for the link to come up
-dmesg | grep -q "link down" && for i in 1 1 1 1 ; do
- dmesg | grep -q "link up" && break
- [ $DEBUGLEVEL -ge 1 ] && echo "network: waited half a second for the \
-link to come up" >>$LOGFILE
- sleep $i
-done
-# ... or ldap if available (in background)
-[ -n "$ldap" ] && ldapconf &
-# ... or via (t)ftp/http file get (in background)
-[ -n "$file" ] && fileget &
-
-runinithook '25-have-ip-config'
-
-## netconsole is disabled in the default config
-# config_netconsole $clientip $oldnwif $nwif $serverip
-
-# if root filesystem should be imported via local or a network block device
-if [ -n "${bldmod}" ] ; then
- # load block device driver(s) if needed
- for module in ${bldmod} ; do
- modprobe ${MODPRV} ${module} || error "$init_errbld"
- done
- mdev -s
- [ -z "$bldrfst" ] && bldrfst=squashfs
- bldhost=$(checkip $bldhost)
- if [ $DEBUGLEVEL -eq 20 ] ; then
- echo "** starting setup of ${bldmod} at $(sysup)"
- else
- echo "Stateless client using ${bldmod} on $bldhost:$bldport with $bldrfst"
- fi
- # fixme: check for fs in /proc/filesystems before trying to load the module
- modprobe ${MODPRV} ${bldrfst} || error "$init_errbld" nonfatal
-
- # for debugging: interface might not be properly up - check reachability
- [ $DEBUGLEVEL -ge 1 ] && ping -c 1 -w 15 ${bldhost} >/dev/null 2>&1
-
- case "${srvproto}" in
- # network block device present in standard kernel
- nbd)
- RDEV=/dev/nbd0
- waitfor "${RDEV}" 20000 || error "$init_nbddev"
- i=0
- while ! nbd-client $bldhost $bldport ${RDEV} -persist ; do
- usleep 100000
- i=$(($i + 1))
- if [ $i -ge 1000 ] ; then
- error "$init_nbds"; break
- fi
- done
- usleep 100
- echo deadline > /sys/block/nbd0/queue/scheduler
- # echo "32" > /sys/block/nbd0/queue/read_ahead_kb
- ;;
- # dnbd2 by Vito Di Leo
- dnbd2)
- RDEV=/dev/vnbd0
- waitfor "${RDEV}" 20000 || error "$init_nbddev"
- # quickhack, should be read in from URI
- echo 1 > /sys/block/vnbd0/config/vid
- echo 1 > /sys/block/vnbd0/config/rid
- # check for others in initramfs-setup and then kernel cmdline
- rootfs="$(sed -n "/rootfs=/p" /etc/initramfs-setup| \
- sed "s,rootfs=,,;s,\",,g") "
- [ "$rootfs" = " " ] && \
- rootfs="$(cat /proc/cmdline|sed "s,.*rootfs=\",,;s,\".*,,") "
- i=0
- # assume no more than 16 different dnbd2 servers (default 4)
- while [ "x$bldhost" != "x" -a $i -lt 16 ]; do
- #echo "I: $i R: $rootfs P:$bldport H:$bldhost"
- echo $bldhost $bldport > /sys/block/vnbd0/server${i}/sock
- i=$(($i + 1))
- rootfs=${rootfs#* }
- bldsp=$(echo ${rootfs}|sed "s, .*,,")
- bldhost=$(uri_token $bldsp server)
- bldport=$(uri_token $bldsp port)
- done
- # the cfq scheduler seem not a good idea here
- echo deadline > /sys/block/vnbd0/queue/scheduler
- # needed for some reason to settle initialization
- sleep 1
- i=0
- while [ $(cat /sys/block/vnbd0/config/running) != 1 ] ; do
- usleep 100000
- echo 1 > /sys/block/vnbd0/config/running
- i=$(($i + 1))
- if [ $i -ge 50 ] ; then
- error "$init_dnbd2s"; break
- fi
- done
- echo "64" > /sys/block/vnbd0/queue/read_ahead_kb
- ;;
- # dnbd by Thorsten Zitterell
- dnbd)
- # quickhack
- RDEV=/dev/dnbd0
- if [ -z $nodnbdcache ] ; then # variable not really used yet
- mkdir /dnbd
- mount -n -o 'size=20%' -t tmpfs tmpfs /dnbd
- ( cat /dev/zero > /dnbd/cache 2>/dev/null || echo "ok" >/tmp/cache ) &
- clientopt="-c /dnbd/cache"
- waitfor /tmp/cache 10000
- fi
- [ $(echo $bldhost|sed "s,\..*,,") -ge 224 ] && \
- ip route add 224.0.0.0/4 dev $nwif
- waitfor /dev/dnbd0 10000 || error "$init_nbddev"
- echo "dnbd-client -b $bldhost -d $RDEV $clientopt"
- while ! dnbd-client -b $bldhost -d $RDEV $clientopt ; do
- usleep 10000
- done
- # problem with squashfs and cfq scheduler
- echo noop > /sys/block/dnbd0/queue/scheduler
- echo 0 > /sys/block/dnbd0/queue/read_ahead_kb
- ;;
- lbd)
- # using clients local block device (disk partition is to be specified
- RDEV=/dev/$blddev
- echo "$bldrfst" >>/etc/filesystems
- realbldrfst=$bldrfst
- # we might need to mount the base layer filesystem first before accessing
- # e.g. a squashfs container file on it
- bldrfst=auto
- ;;
- esac
- RWRO="ro"
- if [ -n "${cowloop}" -a -x /bin/cowdev ] ; then
- modprobe ${MODPRV} cowloop || {
- error "$init_loadcow" nonfatal
- unset cowloop; }
- [ -x /bin/mdev ] && mdev -s
- fi
- if [ -n "${cowloop}" ] ; then
- if [ -n "${unionfs}" -o -n "${aufs}" ] ; then
- error "$init_cownobld"
- unset unionfs aufs
- fi
- echo "Using Copy-on-Write block device for rw access"
- mount -n -t tmpfs -o size=${cowsize} ramfs ${rwdir}
- mkdir /dev/cow && mknod /dev/cow/ctl b 241 255
- usleep 200
- ln -s /dev/cowloop0 /dev/cow/0
- # fixme - cowdev depending on blockdev choosen above ...
- cowdev -a /dev/nbd0 ${rwdir}/nbd.cow
- usleep 200
- RWRO="rw"
- RDEV=/dev/cow/0
- # run ldconfig if not switched off via kernel command line
- ldcfg
- else
- # use normal UnionFS behaviour because rootfs is not NFS
- unset nfsro
- fi
- # finally mount the configured network/local block device
- for i in 0 5000 20000 100000 500000 1000000 ; do
- usleep $i
- mount -n -t $bldrfst -o $RWRO $RDEV /mnt 2>/dev/null && break
- done
- # check if we got the rootfilesystem directly or need to mount a container
- # file from the mounted block device
- if [ "${srvproto}" = "lbd" -a -f /mnt/boot/${slxconf_system_name} ]; then
- mkdir /dev/bootdisk
- mount --move /mnt /dev/bootdisk
- mount -t ${realbldrfst} -o loop \
- /dev/bootdisk/boot/${slxconf_system_name} /mnt || error "$init_errloop"
- fi
- [ $DEBUGLEVEL -eq 20 ] && echo "** finished blockdev setup stuff at $(sysup)"
-elif [ -n ${iscsiserver} ] ; then
- [ $DEBUGLEVEL -eq 20 ] && echo "** started setting up iSCSI initiator at \
-$(sysup)"
- #if [ -n ${iscsitarget} ] ; then
- # echo "InitiatorName=${iscsitarget}"|sed "s,@@@serverip@@@,$serverip," \
- # >/etc/initiatorname.iscsi
- #else
- # discovery
- #fi
- #echo -e "node.startup = automatic">/etc/iscsid.conf
- #iscsid -c /etc/iscsid.conf
- # the cowloop part has to be moved (option for iscsi devices too)
- # and should be generalized for nbd, dnbd, iscsi
-fi
-
-# if no type of root filesystem is passed via kernel command line try
-# information gathered from dhcp process (only valid for nfs)
-if [ -z "${bldmod}" -a -z "${bldhost}" -a -z "${nfsserver}" ] ; then
- # information has to be read from dhcp and ldap configuration
- # cfgcomplete merges all configuration files
- cfgcomplete
-fi
-
-# mount nfs rootfs
-if [ -z "${bldmod}" -a -z "${bldserver}" ] ; then
- [ $DEBUGLEVEL -eq 20 ] && echo "** started nfs mount"
- # read in extended initramfs-setup
- . /etc/initramfs-setup
- # prefer nfsserver and nfspath from kernel commandline over the information
- # gotten from dhcp server
- if [ -n "${nfsserver}" -a -n "${nfspath}" ] ; then
- # check if nfsserver is set as variable @@@serverip@@@
- nfsserver=$(checkip $nfsserver)
- else
- # we got a problem here
- error "$init_nfssp" fatal
- fi
- # interface might not be properly up - check reachability
- ping -c 1 -w 15 ${nfsserver} >/dev/null 2>&1
- # mount the rootfs via nfs readonly (ro)
- fsmount nfs ${nfsserver} ${nfspath} /mnt ro
- #for transport in tcp udp fail; do
- # [ $proto = "fail" ] && { error "$init_nfs"; break; }
- # mount -n -t nfs -o ro,nolock,${transport} ${nfsroot} /mnt && break
- #done
- [ $DEBUGLEVEL -eq 20 ] && echo "** finished nfs mount at $(sysup)"
-fi
-
-runinithook '35-have-network-root'
-
-# get the complete collection of kernel modules and firmwares available
-testmkd /lib/firmware
-mount -n --bind /mnt/lib/modules /lib/modules && \
-mount -n --bind /mnt/lib/firmware /lib/firmware || error "$init_moddir"
-# start hardware configuration as background process if not a special
-# debuglevel (21) is used for the option of manual hwautocfg start
-if [ ${DEBUGLEVEL} = 21 ] ; then
- echo "You can run 'hwautocfg main &' manually now ..."
- /bin/sh
-else
- [ $DEBUGLEVEL -eq 20 ] && echo "** started hwautocfg in background at \
-$(sysup)"
- hwautocfg main &
-fi
-
-runinithook '40-started-hw-config'
-
-# unionfs/aufs modules visible by now if installed, try to use aufs for rw
-# access if available
-union_type=""
-if [ ${aufs} -eq 1 ] && \
- modprobe ${MODPRV} aufs 2>/dev/null && \
- lsmod | grep -qe "^aufs" ; then union_type="AUFS"
-elif [ ${unionfs} -eq 1 ] && \
- modprobe ${MODPRV} unionfs 2>/dev/null && \
- lsmod | grep -qe "^unionfs" ; then union_type="UnionFS"
-elif [ ${aufs} -eq 0 -a ${unionfs} -eq 0 -a -z "${cowloop}" ] ; then
- error "$init_deselau" nonfatal
- unset aufs unionfs
-else
- error "$init_loadaufs" nonfatal
- unset aufs unionfs
-fi
-
-# runtimer
-[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
- echo "** Filesystem setup started at $(sysup)"
-# setup of client root filesystem dependent on the availability of UnionFS
-if [ "x${union_type}" != "x" ] ; then
- echo "Using ${union_type} for rw access"
- mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs
- # adapting tempfs size of the device directory (takes /tmp in stage4)
- mount -o remount,size=${tmpfssize} ${devdir}
- mount -n -t tmpfs -o size=${tmpfssize} none ${rwdir}/uniontmp
- # hack for handling unionfs with patched run-init
- mount -n --move /mnt /rorootfs
- if [ "$union_type" == "UnionFS" ]; then
- mount -n -t unionfs -o dirs=${rwdir}/uniontmp:/rorootfs=${nfsro}ro \
- none /mnt
- elif [ "$union_type" == "AUFS" ]; then
- mount -n -t aufs -o br:/${rwdir}/uniontmp:/rorootfs=ro none /mnt
- fi
- mkdir -p /mnt/uniontmp
- mount -n --move ${rwdir}/uniontmp /mnt/uniontmp
- chmod 0755 /mnt/uniontmp /mnt
- # running hardware disk/tmp setup now
- hwautocfg disk &
- # run ldconfig if switched on via kernel command line (token ldsc) or
- # triggered by unionized root filesystem
- ldcfg
-elif [ -z "${cowloop}" ] ; then
- # fire up hardware disk/tmp setup first
- hwautocfg disk &
- echo "Using bind mounts to ramdisk for rw access"
- mount -n -t tmpfs -o size=75% ramfs ${rwdir}
- for path in ${D_BINDMPTS} ; do
- mkdir -p ${rwdir}/${path} >/dev/null 2>&1
- mount -n --bind ${rwdir}/${path} /mnt/${path}
- [ ${DEBUGLEVEL} -gt 1 -a ${DEBUGLEVEL} != 8 ] && \
- echo "Created ${rwdir}/${path} and mounted it to /mnt/$path"
- done
- # see above ...
- ldcfg
- # save the RO directories mentioned in the distro-specific
- # config to a temporary directory. They will later on be restored
- for path in ${D_RODIRSINRW}; do
- if [ -d /mnt/${path} ] ; then
- list="${path} ${list}"
- # exclude them from etc copy process too
- echo "${path}/*"|sed -e "s,/root/,,;s,^/,," >>/tmp/etc.exclude
- mkdir -p /root/${path} >/dev/null 2>&1
- mount -n --bind /mnt/${path} /root/${path} >/dev/null 2>&1
- fi
- done
- for path in /etc/${D_SYSCONFDIR} ${D_DIRINBINDMNT} ${list}; do
- mkdir -p ${rwdir}/${path}
- done
- testmkd ${rwdir}/var/tmp 1777
- # exclude all sysv runlevel link stuff
- for i in ${D_RCDIRS} ${D_INITBOOTD} ; do
- echo "*$i/*" >>/tmp/etc.exclude
- done
- # add list of files to be excluded and common excludes to the filter list
- echo -e "-\ndhcp*\n*~\n*.old\n*-\nxorg.conf*" >>/tmp/etc.exclude
- # if ld.so.cache is to be generated then do not copy the file
- [ -n "${ldsc}" ] && echo -e "ld.so.cache*" >>/tmp/etc.exclude
- # for tar exclude lists might be used, more difficult for cp
- cd /mnt
- tar -X /tmp/etc.exclude -cp etc/*|tar -xp -C ${rwdir} 2>/dev/null
- cd /
- mount -n --bind ${rwdir}/etc /mnt/etc
- mount -n --bind ${rwdir}/var /mnt/var
- # get the "covered" mounts back into filesystem structure
- for path in ${list}; do
- mount -n --move /root/$path /mnt/$path #>>$LOGFILE 2>&1
- done
- #rm -rf /root/* >/dev/null 2>&1
- # run some specific stuff !?
-fi
-
-runinithook '50-have-layered-fs'
-
-# generate a set of default directories
-. /etc/openslx.conf
-for dir in $OPENSLX_DEFAULT_LOGDIR $OPENSLX_DEFAULT_BINDIR \
- $OPENSLX_DEFAULT_LIBDIR $OPENSLX_DEFAULT_VIRTDIR; do
- testmkd /mnt/$dir
-done
-chmod -R 1777 /mnt/${OPENSLX_DEFAULT_LOGDIR}
-
-# script for stuff to execute during early bootup
-d_mkrlscript init boot.slx "Running configuration postponed from InitRamFS"
-echo "fs complete at $(sysup)" >/tmp/fscmpl
-# runtimer
-[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
- echo "** Filesystem setup completed at $(sysup)"
-
-# write debug file information after filesystem setup completed
-echo -e "# /etc${D_SYSCONFDIR}/logfile - file created by $0 (initramfs \
-from $date)\n#\n# logfile \
-for linux diskless client specific debugging output\nLOGFILE=\"$LOGFILE\"\n#\
-\n# debug level\nDEBUGLEVEL=\"$DEBUGLEVEL\"" \
- > /mnt/etc/${D_SYSCONFDIR}/logfile || error "$init_errlog"
-
-# run distribution independent and dependent configuration of files and
-# services (offer debug shell in runlevel 22)
-if [ ${DEBUGLEVEL} = 22 ] ; then
- /bin/sh
-else
- servconfig &
-fi
-
-for path in @@@COMDIRINDXS@@@ ${D_DIRINDXS} ${D_DIRINBINDMNT} ; do
- testmkd /mnt/${path}
-done
-# Needed writable subdirs nested in readonly subdirs of writable one
-for path in ${D_RWDIRSINRO}; do
- mount -n -t tmpfs none /mnt/${path}
-done
-for i in /var/run/utmp /var/log/wtmp /var/log/lastlog /etc/mtab ; do
- echo -n > /mnt/$i
-done
-chown 65534:0 /mnt/var/lib/nobody
-# /proc/bus/usb might be deprecated in newer kernels ...
-echo -e "# /etc/fstab - file generated by $0 (initramfs from $date)\n#\
-\tOpenSLX Project, info@openslx.com\n\nrootfs\t\t/\t\trootfs\t\tro\t\t 0 0\n\
-proc\t\t/proc\t\tproc\t\tdefaults\t 0 0\ninitramdevs\t/dev\t\ttmpfs\
-\t\trw\t\t 0 0\ndevpts\t\t/dev/pts\tdevpts\t\tmode=0620,gid=5\t 0 0" \
- >/mnt/etc/fstab || error "$init_fstab"
-echo -e "rootfs / rootfs rw 0 0\ninitramdevs /dev tmpfs rw\
- 0 0" > /mnt/etc/mtab
-
-# copy library cache if generated
-if [ -n "${ldsc}" ] ; then
- # creating library cache takes a while ...
- if waitfor /tmp/ldcfg 50000 ; then
- test -s /mnt/tmp/ld.so.cache && \
- mv /mnt/tmp/ld.so.cache /mnt/etc/ld.so.cache
- else
- error "$init_errldcfg"
- fi
-else
- [ $DEBUGLEVEL -gt 2 ] && error "$init_infldcfg" nonfatal
-fi
-
-runinithook '60-have-servconfig'
-
-# wait a while for hardware setup to complete and start cleanup procedure
-[ $DEBUGLEVEL -gt 1 ] && echo "Waiting for hwautocfg to finish ..."
-waitfor /tmp/hwcfg 20000 || error "$init_errhw"
-hwautocfg finish &
-
-# wait a while for services setup to complete
-[ $DEBUGLEVEL -gt 1 ] && echo "Waiting for servconfig to finish ..."
-waitfor /tmp/svcfg 10000 || error "$init_errsw"
-# IP configuration is complete and should not be updated automatically
-killall -9 udhcpc 2>/dev/null
-
-# if uniondirs is not set yet, maybe the unions were given via initramfs-setup
-if [ -z "$uniondirs" ]; then
- if [ "$union_type" == "AUFS" ]; then
- # does it contain "://"?
- if [ "$aufs" != "${aufs#*://}" ]; then
- uniondirs="$aufs"
- fi
- elif [ "$union_type" == "UnionFS" ]; then
- # does it contain "://"?
- if [ "$unionfs" != "${unionfs#*://}" ]; then
- uniondirs="$unionfs"
- fi
- fi
-fi
-# if locations are given that should be unioned with the fs root, do it
-if [ -n "$uniondirs" ]; then
- include_in_fsroot_union "$union_type" "$uniondirs"
-fi
-
-runinithook '70-before-plugins'
-
-# ddcinfo temporary overwrite (with kernel cmdline ddcinfo=1)
-if [ "${ddcinfo}" = "1" -a -f /initramfs/plugin-conf/xserver.conf ]; then
- echo 'xserver_ddcinfo="1"' >> /initramfs/plugin-conf/xserver.conf
-fi
-
-# runtimer
-[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
- echo "** Plugin configuration started at $(sysup)"
-
-# check for any plugin-specific runlevel scripts and run them, if found:
-if [ ${DEBUGLEVEL} = 25 ] ; then
- /bin/sh
-else
- if [ -d /etc/plugin-init.d ]; then
- for plugin_starter in /etc/plugin-init.d/*.sh; do
- if [ -e $plugin_starter ]; then
- [ $DEBUGLEVEL -gt 0 ] \
- && echo -n "Running plugin starter $plugin_starter ..."
- [ $DEBUGLEVEL -eq 15 ] \
- && sed '/^#!/ a\\set -x' -i $plugin_starter
- init-wrapper $plugin_starter >>/tmp/plugin_starter 2>&1
- if [ $? -eq 0 ]; then
- [ $DEBUGLEVEL -gt 0 ] \
- && echo " ok"
- else
- [ $DEBUGLEVEL -gt 0 ] \
- && echo " failed"
- fi
- fi
- done
- # load variables defined by plugins to current environment
- [ -f /tmp/env/wrapper.env ] && . /tmp/env/wrapper.env
- fi
-fi
-
-runinithook '80-after-plugins'
-
-# runtimer
-[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
- echo "** Plugin configuration finished at $(sysup)"
-
-# create links for initial stage4 boot scripts
-initial_boot
-
-runinithook '85-have-initial-boot'
-
-# post init for some distro specific stuff to run
-postinit
-# general postinit.local configurable by the admin via openslx/config/
-[ -f /initramfs/postinit.local ] && {
- [ $DEBUGLEVEL -gt 0 ] && \
- echo -n "Running script /bin/postinit.local ... "
- chmod u+x /initramfs/postinit.local
- /initramfs/postinit.local
- [ $DEBUGLEVEL -gt 0 ] && echo "ok"; }
-
-# start a debug shell in higher debug levels
-[ $DEBUGLEVEL -gt 2 -a $DEBUGLEVEL != 8 ] \
- && echo "DEBUGLEVEL>2: starting debug-shell, exit with CTRL+D" && /bin/sh
-
-runinithook '90-postinit-done'
-
-# unmount the bind mounted modules, firmware directories and nfs /tmp/scratch
-# (if present)
-export ticks
-for ticks in 0 1 2 5 10 20 30; do
- sleep $ticks && umount -n /lib/modules 2>/dev/null && break
- error "$init_wait" nonfatal
-done
-for ticks in 0 1 2 5 10 20 30; do
- sleep $ticks && umount -n /lib/firmware 2>/dev/null && break
- error "$init_wait" nonfatal
-done
-mount 2>/dev/null | grep -q "/tmp/scratch type nfs" && \
- for ticks in 0 1 2 5 10 20 30; do
- sleep $ticks && umount -n /tmp/scratch 2>/dev/null && break
- done
-
-mount 2>/dev/null | grep -q /lib/modules && error "$init_errumnt"
-# close runlevel script for stuff to execute during early bootup
-d_mkrlscript close boot.slx ""
-# put /tmp into stage4 mtab and add stuff to stage4 fstab
-sed -n "s,/mnt,,;/\/tmp /p" /proc/mounts >> /mnt/etc/mtab
-[ -f /tmp/fstab ] && cat /tmp/fstab >> /mnt/etc/fstab
-# preparations to leave initramfs - umounting ...
-umount -n /sys || error "$init_errsys" nonfatal
-umount -n /proc/bus/usb >/dev/null 2>&1
-chmod 1777 /dev/shm /mnt/tmp 2>/dev/null
-
-runinithook '95-cleanup'
-
-# kill hwautocfg, servconfig, hwinfo, syslogd, etc.
-killall -9 hwautocfg servconfig debugshell hwinfo syslogd logread 2>/dev/null
-
-# runtimer
-[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
- echo "** SLX init ended near $(sysup)"
-# kill the watchdog (autopoweroff, if stage3 init never finishes)
-[ -f /tmp/watchdogpid ] && kill $(cat /tmp/watchdogpid) 2>/dev/null
-# stop logging services if required and move logfile into stage4 filesystem
-# (if exists)
-killall klogd 2>/dev/null
-[ -f /var/log/slx-boot.log ] && mv /var/log/slx-boot.log \
- /mnt/var/log/slx-s3boot.log
-[ -f /var/log/messages ] && cp /var/log/messages \
- /mnt/var/log/slx_messages 2>/dev/null
-# if no syslog plugin was configured, start the daemon again writing to no
-# logfile directly (useless fake test as placeholder)
-# THIS IS NOT WORKING SOMEHOW!!
-#[ ! -d /mnt/opt/openslx/plugin-repo/syslog/ ] && syslogd -O /mnt/var/log/testfile
-
-# move /dev and unmount /proc and unset all old, unneeded environment
-# variables
-mount -n --move /dev /mnt/dev
-umount -n /proc
-unset client debug date initrd ip bldroot macaddr nwif nfsroot rootfs ticks \
- vci vga
-unset BOOT_IMAGE KCMDLINE KERNEL MODPRV NWMODULES OLDPWD UDEVD_EVENT_TIMEOUT \
- SLXVERSION UDEVD_EXPECTED_SEQNUM PATH
-
-runinithook '99-handing-over'
-
-# new style of pivoting (switch_root or run-init)
-exec /sbin/switch_root -c dev/console /mnt /sbin/init $DEBUG_UPSTART || \
- error "$init_runinit"
diff --git a/src/initramfs/uclib-rootfs b/src/initramfs/uclib-rootfs
deleted file mode 120000
index 943a6022..00000000
--- a/src/initramfs/uclib-rootfs
+++ /dev/null
@@ -1 +0,0 @@
-eglibc-rootfs/
\ No newline at end of file
diff --git a/src/installer/OpenSLX/OSSetup/Engine.pm b/src/installer/OpenSLX/OSSetup/Engine.pm
index 642a058b..4de9ce41 100644
--- a/src/installer/OpenSLX/OSSetup/Engine.pm
+++ b/src/installer/OpenSLX/OSSetup/Engine.pm
@@ -282,8 +282,8 @@ sub installVendorOS
# generate default openslx directories for the client
$self->_generateDefaultDirs();
- # add the uclibs and tools to the stage1
- $self->_copyUclibcRootfs();
+ # add the initramfs rootfs and tools to the stage1
+ $self->_copyRootfs();
#callInSubprocess(
# sub {
# $self->_callChrootedFunction({
@@ -384,8 +384,8 @@ sub cloneVendorOS
# generate default openslx directories for the client
$self->_generateDefaultDirs();
- # add the uclibs and tools to the stage1
- $self->_copyUclibcRootfs();
+ # add the initramfs rootfs and tools to the stage1
+ $self->_copyRootfs();
$self->_touchVendorOS();
$self->addInstalledVendorOSToConfigDB();
return;
@@ -414,7 +414,7 @@ sub updateVendorOS
);
$self->_generateDefaultDirs();
- $self->_copyUclibcRootfs();
+ $self->_copyRootfs();
$self->_touchVendorOS();
vlog(
0,
@@ -710,12 +710,12 @@ sub busyboxBinary
{
my $self = shift;
- my $uclibdir = "$openslxConfig{'base-path'}/share/uclib-rootfs";
+ my $rootfsDir = "$openslxConfig{'base-path'}/share/rootfs";
return sprintf(
"LD_LIBRARY_PATH=%s/lib %s/bin/busybox",
- $uclibdir,
- $uclibdir
+ $rootfsDir,
+ $rootfsDir
);
}
@@ -1130,22 +1130,22 @@ sub _generateDefaultDirs
"$openslxDefaultPath");
}
-sub _copyUclibcRootfs
+sub _copyRootfs
{
my $self = shift;
my $targetRoot = shift || $self->{'vendor-os-path'};
my $distro = $self->{distro};
- vlog(0, _tr("copying uclibc-rootfs into vendor-OS ...\n"));
+ vlog(0, _tr("copying rootfs into vendor-OS ...\n"));
- my $target = "$targetRoot/opt/openslx/uclib-rootfs";
+ my $target = "$targetRoot/opt/openslx/rootfs";
if (system("mkdir -p $target")) {
die _tr("unable to create directory '%s', giving up! (%s)\n",
$target, $!);
}
- my $uclibcRootfs = "$openslxConfig{'base-path'}/share/uclib-rootfs";
+ my $rootfs = "$openslxConfig{'base-path'}/share/rootfs";
my @excludes = qw(
dialog
kexec
@@ -1156,7 +1156,7 @@ sub _copyUclibcRootfs
vlog(3, _tr("using exclude-filter:\n%s\n", $exclOpts));
my $rsyncFH;
my $rsyncCmd
- = "rsync -aq --delete-excluded --exclude-from=- $uclibcRootfs/ $target";
+ = "rsync -aq --delete-excluded --exclude-from=- $rootfs/ $target";
vlog(2, "executing: $rsyncCmd\n");
# if we're doing a fresh install we need to create /lib, /bin first
mkdir "$targetRoot/lib";
@@ -1164,13 +1164,13 @@ sub _copyUclibcRootfs
open($rsyncFH, '|-', $rsyncCmd)
or die _tr("unable to start rsync for source '%s', giving up! (%s)",
- $uclibcRootfs, $!);
+ $rootfs, $!);
print $rsyncFH $exclOpts;
close($rsyncFH)
or die _tr("unable to copy to target '%s', giving up! (%s)",
$target, $!);
- # write version of uclibc-rootfs original into a file in order to be
+ # write version of initramfs-rootfs original into a file in order to be
# able to check the up-to-date state later (in the config-demuxer)
slxsystem("slxversion >${target}.version");
@@ -1364,18 +1364,18 @@ sub _setupStage1A
$stage1cDir, $!);
}
- $self->_stage1A_setupUclibcEnvironment();
+ $self->_stage1A_setupRootfsEnvironment();
$self->_stage1A_copyPrerequiredFiles();
$self->_stage1A_copyTrustedPackageKeys();
$self->_stage1A_createRequiredFiles();
return;
}
-sub _stage1A_setupUclibcEnvironment
+sub _stage1A_setupRootfsEnvironment
{
my $self = shift;
- $self->_copyUclibcRootfs("$self->{stage1aDir}/$self->{stage1bSubdir}");
- my $source = "$self->{stage1bSubdir}/opt/openslx/uclib-rootfs";
+ $self->_copyRootfs("$self->{stage1aDir}/$self->{stage1bSubdir}");
+ my $source = "$self->{stage1bSubdir}/opt/openslx/rootfs";
my $target = "$self->{stage1aDir}";
slxsystem("ln -sf $source/bin $target/bin");
slxsystem("ln -sf $source/lib $target/lib");
diff --git a/src/os-plugins/plugins/bootsplash/XX_bootsplash.sh b/src/os-plugins/plugins/bootsplash/XX_bootsplash.sh
index 372e025d..1118d9dd 100644
--- a/src/os-plugins/plugins/bootsplash/XX_bootsplash.sh
+++ b/src/os-plugins/plugins/bootsplash/XX_bootsplash.sh
@@ -20,7 +20,7 @@ if [ -e /initramfs/plugin-conf/bootsplash.conf ]; then
if [ ${no_bootsplash} -eq 0 ]; then
# create a runlevelscript that will stop splashy before the start of KDM
d_mkrlscript init splashy.boot ""
- echo -e "\tLD_LIBRARY_PATH=/opt/openslx/uclib-rootfs/lib/ \
+ echo -e "\tLD_LIBRARY_PATH=/opt/openslx/rootfs/lib/ \
/opt/openslx/plugin-repo/bootsplash/sbin/splashy_update \
exit 2>/dev/null \
\n\ttype killall >/dev/null 2>&1 && killall -9 splashy" \
@@ -41,7 +41,7 @@ if [ -e /initramfs/plugin-conf/bootsplash.conf ]; then
sed -e "s,^script.*,script\n\t#0x42#," \
-e "s,#0x42#,# shutdown splashy - added by splashy plugin\n\t#0x42#," \
-e "s,#0x42#,if [ ! \"x$(ps aux |grep splashy |grep -v grep | wc -l)\" -eq \"x0\" ]; then\n\t#0x42#, " \
- -e "s,#0x42#, LD_LIBRARY_PATH=/opt/openslx/uclib-rootfs/lib/ \\\\\n\t#0x42#," \
+ -e "s,#0x42#, LD_LIBRARY_PATH=/opt/openslx/rootfs/lib/ \\\\\n\t#0x42#," \
-e "s,#0x42#, /opt/openslx/plugin-repo/bootsplash/sbin/splashy_update exit \\\\\n\t#0x42#," \
-e "s,#0x42#, 2>/dev/null \n\t#0x42#," \
-e "s,#0x42#,fi \n\t#0x42#," \
diff --git a/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh b/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh
index 8a41ff3b..ed0205b5 100644
--- a/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh
+++ b/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh
@@ -98,12 +98,12 @@ ${qemukvm_imagesrc}." nonfatal
cat >> /mnt/etc/sudoers << EOF
# allow to start and stop kvm services / load-/unload kvm modules
#ALL ALL=NOPASSWD: /etc/init.d/qemukvm
-ALL ALL=NOPASSWD: /opt/openslx/uclib-rootfs/sbin/tunctl -t tap*
-ALL ALL=NOPASSWD: /opt/openslx/uclib-rootfs/usr/sbin/brctl addif br0 tap*
-ALL ALL=NOPASSWD: /opt/openslx/uclib-rootfs/bin/ip link set dev tap* up
-ALL ALL=NOPASSWD: /opt/openslx/uclib-rootfs/bin/ip addr add * dev tap*
-ALL ALL=NOPASSWD: /opt/openslx/uclib-rootfs/usr/sbin/udhcpd -S /tmp/qemukvm/*/udhcpd.conf
-ALL ALL=NOPASSWD: /opt/openslx/uclib-rootfs/bin/cp /tmp/qemukvm/*/forwarding /proc/sys/net/ipv4/conf/tap*/forwarding
+ALL ALL=NOPASSWD: /opt/openslx/rootfs/sbin/tunctl -t tap*
+ALL ALL=NOPASSWD: /opt/openslx/rootfs/usr/sbin/brctl addif br0 tap*
+ALL ALL=NOPASSWD: /opt/openslx/rootfs/bin/ip link set dev tap* up
+ALL ALL=NOPASSWD: /opt/openslx/rootfs/bin/ip addr add * dev tap*
+ALL ALL=NOPASSWD: /opt/openslx/rootfs/usr/sbin/udhcpd -S /tmp/qemukvm/*/udhcpd.conf
+ALL ALL=NOPASSWD: /opt/openslx/rootfs/bin/cp /tmp/qemukvm/*/forwarding /proc/sys/net/ipv4/conf/tap*/forwarding
#ALL ALL=NOPASSWD: ${killall} udhcpd
EOF
fi
diff --git a/src/os-plugins/plugins/qemukvm/files/ifup b/src/os-plugins/plugins/qemukvm/files/ifup
index b3218798..e53ae3b6 100644
--- a/src/os-plugins/plugins/qemukvm/files/ifup
+++ b/src/os-plugins/plugins/qemukvm/files/ifup
@@ -22,7 +22,7 @@ VM_ID=$(echo $1 | grep -oE "0[0-4]$")
QKTMPDIR=/tmp/qemukvm/${USER}/${VM_ID}
# Use the udhcpcd as DHCP server and brctl as provided by default in OpenSLX
-# environments via uclibc-wrapper.
+# environments.
. ${PLUGINCONFDIR}/network.conf
# Just decide by the virtual network device used which kind of connection
@@ -50,7 +50,7 @@ case "$1" in
${OPENSLX_DEFAULT_CONFDIR}/udhcpd.conf \
>${QKTMPDIR}/udhcpd.conf
touch ${QKTMPDIR}/udhcpd.leases
- sudo /opt/openslx/uclib-rootfs/usr/sbin/udhcpd \
+ sudo /opt/openslx/rootfs/usr/sbin/udhcpd \
-S ${QKTMPDIR}/udhcpd.conf
# iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE
;;
@@ -67,7 +67,7 @@ case "$1" in
-e "s,LEASEFILE,${QKTMPDIR}/udhcpd.leases," \
${OPENSLX_DEFAULT_CONFDIR}/udhcpd.conf >${QKTMPDIR}/udhcpd.conf
touch ${QKTMPDIR}/udhcpd.leases
- sudo /opt/openslx/uclib-rootfs/usr/sbin/udhcpd \
+ sudo /opt/openslx/rootfs/usr/sbin/udhcpd \
-S ${QKTMPDIR}/udhcpd.conf
;;
esac
diff --git a/src/os-plugins/plugins/qemukvm/files/run-virt.include b/src/os-plugins/plugins/qemukvm/files/run-virt.include
index 02c70469..c8b2a82b 100644
--- a/src/os-plugins/plugins/qemukvm/files/run-virt.include
+++ b/src/os-plugins/plugins/qemukvm/files/run-virt.include
@@ -122,24 +122,24 @@ qemu_ifscr="script=${PLUGINCONFQK}/ifup,downscript=${PLUGINCONFQK}/ifdown"
case "${network_kind}" in
bridge*)
VIRTCMDOPTS="${VIRTCMDOPTS} -net tap,ifname=tapbridge${VM_ID},${qemu_ifscr}"
- sudo /opt/openslx/uclib-rootfs/sbin/tunctl -t tapbridge${VM_ID} -u ${USER} \
+ sudo /opt/openslx/rootfs/sbin/tunctl -t tapbridge${VM_ID} -u ${USER} \
>/dev/null 2>&1
- sudo /opt/openslx/uclib-rootfs/usr/sbin/brctl addif br0 tapbridge${VM_ID}
- POSTRUN="/opt/openslx/uclib-rootfs/sbin/tunctl -d tapbridge${VM_ID}"
+ sudo /opt/openslx/rootfs/usr/sbin/brctl addif br0 tapbridge${VM_ID}
+ POSTRUN="/opt/openslx/rootfs/sbin/tunctl -d tapbridge${VM_ID}"
;;
nat)
VIRTCMDOPTS="${VIRTCMDOPTS} -net tap,ifname=tapnat${VM_ID},${qemu_ifscr}"
- sudo /opt/openslx/uclib-rootfs/sbin/tunctl -t tapnat${VM_ID} -u ${USER} \
+ sudo /opt/openslx/rootfs/sbin/tunctl -t tapnat${VM_ID} -u ${USER} \
>/dev/null 2>&1
- sudo /opt/openslx/uclib-rootfs/usr/sbin/brctl addif br0 tapnat${VM_ID}
- POSTRUN="/opt/openslx/uclib-rootfs/sbin/tunctl -d tapnat${VM_ID}"
+ sudo /opt/openslx/rootfs/usr/sbin/brctl addif br0 tapnat${VM_ID}
+ POSTRUN="/opt/openslx/rootfs/sbin/tunctl -d tapnat${VM_ID}"
;;
host*)
VIRTCMDOPTS="${VIRTCMDOPTS} -net tap,ifname=taphost${VM_ID},${qemu_ifscr}"
- sudo /opt/openslx/uclib-rootfs/sbin/tunctl -t taphost${VM_ID} -u ${USER} \
+ sudo /opt/openslx/rootfs/sbin/tunctl -t taphost${VM_ID} -u ${USER} \
>/dev/null 2>&1
- sudo /opt/openslx/uclib-rootfs/usr/sbin/brctl addif br0 taphost${VM_ID}
- POSTRUN="/opt/openslx/uclib-rootfs/sbin/tunctl -d taphost${VM_ID}"
+ sudo /opt/openslx/rootfs/usr/sbin/brctl addif br0 taphost${VM_ID}
+ POSTRUN="/opt/openslx/rootfs/sbin/tunctl -d taphost${VM_ID}"
;;
*)
network_kind="user"
diff --git a/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
index 7e55019c..04a4b15c 100644
--- a/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
+++ b/src/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
@@ -458,7 +458,7 @@ sub _writeRunlevelScript
echo "1" >/proc/sys/net/ipv4/conf/br0/forwarding 2>/dev/null
#iptables -A -s vmnet1 -d br0
fi
- /opt/openslx/uclib-rootfs/usr/sbin/udhcpd \\
+ /opt/openslx/rootfs/usr/sbin/udhcpd \\
-S /etc/vmware/udhcpd/udhcpd-vmnet1.conf
fi
if [ -n "\$vmnet8" ] ; then
@@ -469,7 +469,7 @@ sub _writeRunlevelScript
echo "1" >/proc/sys/net/ipv4/conf/vmnet8/forwarding 2>/dev/null
echo "1" >/proc/sys/net/ipv4/conf/br0/forwarding 2>/dev/null
iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE
- /opt/openslx/uclib-rootfs/usr/sbin/udhcpd \\
+ /opt/openslx/rootfs/usr/sbin/udhcpd \\
-S /etc/vmware/udhcpd/udhcpd-vmnet8.conf
fi
End-of-Here
diff --git a/src/tools/README.busybox b/src/tools/README.busybox
index 9c12a65b..ce73e356 100644
--- a/src/tools/README.busybox
+++ b/src/tools/README.busybox
@@ -1,5 +1,7 @@
How busybox (version 1.13.2) is created:
+DEPRECATED!!! busybox is created by broot (see http://git.openslx.org/openslx/tools/broot.git)
+
1. Get our current sources from openslx-src-tools/trunk/busybox
2. bind mount the busybox folder to the correspoding uclibc-build-environment
folder (see http://www.openslx.org/wiki/openslx/GentooUclibcChroot for
--
cgit v1.2.3-55-g7522