summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-05-22 23:07:39 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-05-22 23:07:39 -0300
commitb7efc5798454428b73c68e474abe6fe5b7963e41 (patch)
treec24a2d3338d4c15854301641a91947c61deff59c /Makefile
parent3db6b4547b2e25ac2f250781e63754a7319164bb (diff)
Purge unneded locales2011.05.22
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c18e84c..6fd3a5f 100644
--- a/Makefile
+++ b/Makefile
@@ -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