diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-05-22 23:07:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-05-22 23:07:39 -0300 |
commit | b7efc5798454428b73c68e474abe6fe5b7963e41 (patch) | |
tree | c24a2d3338d4c15854301641a91947c61deff59c /Makefile | |
parent | 3db6b4547b2e25ac2f250781e63754a7319164bb (diff) |
Purge unneded locales2011.05.22
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -32,8 +32,7 @@ $(NETname): base-fs mkarchiso -v -C $(PACCONFIG) -L $(LABEL) -P $(PUBLISHER) -A $(APPLICATION) -D $(INSTALL_DIR) -c $(COMPRESS) iso $(WORKDIR) $@ # This is the main rule for make the working filesystem. -base-fs: root-image bootfiles initcpio overlay iso-mounts - +base-fs: root-image bootfiles initcpio overlay purge iso-mounts # Rules for make the root-image for base filesystem. root-image: $(WORKDIR)/root-image/.arch-chroot @@ -74,6 +73,10 @@ overlay: mkdir -p $(WORKDIR)/overlay/etc/pacman.d cp -r overlay $(WORKDIR)/ +purge: + cp overlay/etc/locale.nopurge $(WORKDIR)/root-image/etc/ + chroot $(WORKDIR)/root-image localepurge + # Rule to process isomounts file. iso-mounts: $(WORKDIR)/iso/$(INSTALL_DIR)/isomounts $(WORKDIR)/iso/$(INSTALL_DIR)/isomounts: isomounts root-image |