From cbc58c126113bda792170eb9a33a9e606619f745 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 2 Feb 2005 11:25:01 +0000 Subject: add a basic partimage save_all/rest_all feature --- rescue/make_rescue_img | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'rescue/make_rescue_img') diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 12cd9287c..0bf9ba05f 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -112,6 +112,22 @@ installown("../mdk-stage1/dhcp-client", "/usr/sbin"); #- note that on biarch systems, we may need to have both /lib and /lib64 __ "strip $tmp/{lib,$lib,bin,sbin}/* $tmp/usr/{bin,sbin}/* 2>/dev/null"; +if ($ENV{PARTIMAGE_DIR}) { + _ "rpm2cpio $ENV{PARTIMAGE_RPM} | (cd $tmp ; cpio -idu ./usr/sbin/partimage)"; + my $server = 'partimaged'; + $server = 'leia'; + substInFile { + $_ = </dev/null"; -- cgit v1.2.1