summaryrefslogtreecommitdiffstats
path: root/move/tree/mdk_behind_totem
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-21 14:37:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-21 14:37:47 +0000
commitdf0f7fe03cdc33733f12555a520635bff429d6ee (patch)
tree6d5fd525d0b955b7ebb44b387f94c231190c39bd /move/tree/mdk_behind_totem
parenta10096d569591324399f3ae1d4b7ce587bd04a27 (diff)
downloaddrakx-df0f7fe03cdc33733f12555a520635bff429d6ee.tar
drakx-df0f7fe03cdc33733f12555a520635bff429d6ee.tar.gz
drakx-df0f7fe03cdc33733f12555a520635bff429d6ee.tar.bz2
drakx-df0f7fe03cdc33733f12555a520635bff429d6ee.tar.xz
drakx-df0f7fe03cdc33733f12555a520635bff429d6ee.zip
like live_tree_boot, one must handle live_tree_i18n_*
Diffstat (limited to 'move/tree/mdk_behind_totem')
-rwxr-xr-xmove/tree/mdk_behind_totem16
1 files changed, 16 insertions, 0 deletions
diff --git a/move/tree/mdk_behind_totem b/move/tree/mdk_behind_totem
index eb7e859f1..028077821 100755
--- a/move/tree/mdk_behind_totem
+++ b/move/tree/mdk_behind_totem
@@ -4,6 +4,16 @@ ok=1
while [ -n "$1" ]; do
case "$1" in
+ --lang)
+ lang="$2"
+ shift
+ shift
+ ;;
+ --i18n-loop)
+ i18n_loop="$2"
+ shift
+ shift
+ ;;
--boot-loop)
boot_loop="$2"
shift
@@ -47,6 +57,9 @@ trap 'umount_cd' USR1
umount_cd() {
echo umount_cd
+ umount /image_i18n_$lang
+ losetup -d /dev/$i18n_loop
+
umount /image_boot
losetup -d /dev/$boot_loop
@@ -74,6 +87,9 @@ mount_cd() {
losetup -r -e gz /dev/$boot_loop /cdrom/live_tree_boot.clp
mount -r /dev/$boot_loop /image_boot
+ losetup -r -e gz /dev/$i18n_loop /cdrom/live_tree_i18n_$lang.clp
+ mount -r /dev/$i18n_loop /image_i18n_$lang
+
ln -sf /image/lib /
mdk_move_loop to_cdrom always always_i18n totem nvidia