diff options
author | Colin Guthrie <colin@mageia.org> | 2012-10-21 19:14:29 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-10-21 19:14:29 +0000 |
commit | eea859cb399d8da62fb5779c1f9e694b0871b9ea (patch) | |
tree | e430885d0e2b9b39061cc3ec766b4c091f6793fa /perl-install/install/Makefile | |
parent | 94b4741759cfc521a0d4b9693d8d9ccbd8adab68 (diff) | |
download | drakx-eea859cb399d8da62fb5779c1f9e694b0871b9ea.tar drakx-eea859cb399d8da62fb5779c1f9e694b0871b9ea.tar.gz drakx-eea859cb399d8da62fb5779c1f9e694b0871b9ea.tar.bz2 drakx-eea859cb399d8da62fb5779c1f9e694b0871b9ea.tar.xz drakx-eea859cb399d8da62fb5779c1f9e694b0871b9ea.zip |
Layout stage2 filesystem in a post usrmove-esque way (symlinked bin, lib etc)
Diffstat (limited to 'perl-install/install/Makefile')
-rw-r--r-- | perl-install/install/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install/Makefile b/perl-install/install/Makefile index 1756566b0..048e401f4 100644 --- a/perl-install/install/Makefile +++ b/perl-install/install/Makefile @@ -65,10 +65,11 @@ install_pms: get_needed_files: xs # generate installer system: REP4PMS=$(REP4PMS) ../../tools/install-xml-file-list share/list.xml $(DEST) + mkdir -p $(DEST)/usr/sbin + /usr/lib/dracut/modules.d/30convertfs/convertfs.sh $(DEST) chmod u-s -R $(DEST) # for mount/umount share/generate-xlocales $(DEST) - mv -f $(DEST)/usr/$(LIB)/*.so* $(DEST)/$(LIB) ../../tools/simplify-drakx-modules $(DEST)/usr/*/*/*/utf8_heavy.pl perl -I.. -Mlang -e 'symlink "UTF-8", "$(DEST)/usr/share/locale/$$_" foreach lang::list_langs()' @@ -108,8 +109,6 @@ stage2: mkdir -p $(DEST)/usr $(MAKE) get_needed_files $(MAKE) install_pms - # / -> /usr move - for i in bin ; do mv $(DEST)/$$i/* $(DEST)/usr/$$i; rmdir $(DEST)/$$i; ln -s /usr/$$i $(DEST); done dont_run_directly_stage2: [ -d $(DEST) ] || ../../tools/mdkinst_stage2_tool --uncompress $(STAGE2_DEST) |