diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-06-05 15:18:31 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-06-05 16:11:16 +0200 |
| commit | 6d3f4fd5557f5efc83c42374417f4a05e99d3744 (patch) | |
| tree | d5c7e701bce145e1be5aaa4ef410589905e40d5e /scripts/boot.sh | |
| parent | c48696a0ebe9ffc938b84b921db90ac620339a52 (diff) | |
| download | live-boot-6d3f4fd5557f5efc83c42374417f4a05e99d3744.tar.gz live-boot-6d3f4fd5557f5efc83c42374417f4a05e99d3744.zip | |
Moving out live-helpers from initramfs-tools specifics.
Diffstat (limited to 'scripts/boot.sh')
| -rwxr-xr-x | scripts/boot.sh | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/scripts/boot.sh b/scripts/boot.sh index 5d4a20d..0b18a9c 100755 --- a/scripts/boot.sh +++ b/scripts/boot.sh @@ -35,7 +35,28 @@ then touch /etc/mtab fi -. /scripts/live-helpers +if [ ! -x "/bin/fstype" ] +then + # klibc not in path -> not in initramfs + export PATH="${PATH}:/usr/lib/klibc/bin" +fi + +# handle upgrade path from old udev (using udevinfo) to +# recent versions of udev (using udevadm info) +if [ -x /sbin/udevadm ] +then + udevinfo='/sbin/udevadm info' +else + udevinfo='udevinfo' +fi + +old_root_overlay_label="live-rw" +old_home_overlay_label="home-rw" +custom_overlay_label="custom-ov" +root_snapshot_label="live-sn" +old_root_snapshot_label="live-sn" +home_snapshot_label="home-sn" +persistence_list="live-persistence.conf" if [ ! -f /live.vars ] then |
