diff options
Diffstat (limited to 'rescue')
-rw-r--r-- | rescue/NEWS | 1 | ||||
-rwxr-xr-x | rescue/make_rescue_img | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS index 8cc7c22a8..f64a8ea54 100644 --- a/rescue/NEWS +++ b/rescue/NEWS @@ -1,5 +1,6 @@ - adapt to latest systemd/udevd - adapt to perl-5.16.0 +- adapt to /usr move - default to the higher version when there're several mga roots (mga#6003) - fix detecting USB devices with kernel-3.5+ (mga#7248) - revert to "linux" terminfo diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 66deed0fa..fa5342f1f 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -20,6 +20,11 @@ _ "mkdir $tmp"; _ 'find . -name "*~" | xargs rm -f'; mkdir_p($tmp . chomp_($_)) foreach cat_("dirs"); _ "cp -a tree/* $tmp"; +# / -> /usr move +foreach (qw(bin sbin)) { + rename("$tmp/$_", "$tmp/usr/$_"); + symlinkf("usr/$_", "$tmp/$_"); +} _ "find $tmp -name .svn | xargs rm -rf"; substInFile { s/DISTRIB_DESCR/$ENV{DISTRIB_DESCR}/ } "$tmp/etc/issue"; |