diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-16 00:02:07 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-16 00:02:07 +0000 |
commit | 6585f44a89e56ae753be1d9447e5a5c616333933 (patch) | |
tree | 2ef9689befeb690a59b6cb28219a8cc28f6757d6 | |
parent | 2acfa635a587eccc6b7ac699764c314bf44c884a (diff) | |
download | drakiso-6585f44a89e56ae753be1d9447e5a5c616333933.tar drakiso-6585f44a89e56ae753be1d9447e5a5c616333933.tar.gz drakiso-6585f44a89e56ae753be1d9447e5a5c616333933.tar.bz2 drakiso-6585f44a89e56ae753be1d9447e5a5c616333933.tar.xz drakiso-6585f44a89e56ae753be1d9447e5a5c616333933.zip |
add support for external pre-pivot-root command in initrd ($live->{system}{initrd_pre_pivot})
-rwxr-xr-x | draklive | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -578,6 +578,7 @@ sub create_initrd_scriptlet { $storage_fs{exists $storage_fs{$fs}{mount} ? $fs : 'generic'}{mount}->($live, $media), (map { $loop{$_->{type}}{mount}->($live, $_) } @$mount_first, @$mount_last), ($live->{mount}{overlay} ? $overlay{$live->{mount}{overlay}}{mount}->($live) : ()), + if_($live->{system}{initrd_pre_pivot}, deref_array($live->{system}{initrd_pre_pivot})), "echo 0x0100 > /proc/sys/kernel/real-root-dev", "umount /sys", "sh -c 'umount /proc/bus/usb 2>/dev/null'", |