diff options
-rw-r--r-- | Makefile | 7 | ||||
-rwxr-xr-x | createtorrent | 1 | ||||
-rwxr-xr-x | download-repo.sh | 1 | ||||
-rw-r--r-- | overlay/etc/locale.nopurge | 52 | ||||
-rw-r--r-- | packages.i686 | 1 | ||||
-rw-r--r-- | packages.x86_64 | 1 |
6 files changed, 61 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 diff --git a/createtorrent b/createtorrent index fccf5f5..9f7c736 100755 --- a/createtorrent +++ b/createtorrent @@ -5,6 +5,7 @@ MOTTO=$(cat motto) for iso in $@; do if [ -f ${iso} ]; then + if [ -f ${iso}.torrent ]; then rm -vf ${iso}.torrent; fi mktorrent -c "${MOTTO}" \ -a http://tracker.openbittorrent.com/announce \ -a http://tracker.publicbt.com/announce \ diff --git a/download-repo.sh b/download-repo.sh index fb09f01..05b320f 100755 --- a/download-repo.sh +++ b/download-repo.sh @@ -61,6 +61,7 @@ if [ -n "$PKGS" ]; then if [ "$REPO_CHANGED" = "y" ]; then wget -nv "$baseurl/$REPO.db" -O "$DEST/$REPO.db" fi + wget -nv "${baseurl/core/libre}/libre.db" -O "$DEST/libre.db" else echo "No packages to download... what'd you break?" exit 1 diff --git a/overlay/etc/locale.nopurge b/overlay/etc/locale.nopurge new file mode 100644 index 0000000..8bd5dc1 --- /dev/null +++ b/overlay/etc/locale.nopurge @@ -0,0 +1,52 @@ +#################################################### +# This is the configuration file for localepurge(8). +#################################################### +# Comment this to enable localepurge. +# NO COMMENT IT IF YOU ARE NOT SURE WHAT ARE YOU DOING +# THIS APP DO NOT ASK FOR CONFIRMATION + +#NEEDSCONFIGFIRST + +#################################################### +# Uncommenting this string enables removal of localized +# man pages based on the configuration information for +# locale files defined below: + +MANDELETE + +#################################################### +# Uncommenting this string causes localepurge to simply delete +# locales which have newly appeared on the system without +# bothering you about it: + +DONTBOTHERNEWLOCALE + +##################################################### +# Commenting out this string enables faster but less +# accurate calculation of freed disk space: + +#QUICKNDIRTYCALC + +#################################################### +# Uncommenting this string enables display of freed disk +# space if localepurge has purged any superfluous data: + +SHOWFREEDSPACE + +##################################################### +# Commenting out this string disables verbose output: + +#VERBOSE + +##################################################### +# You like Colors? + +#NOCOLOR + +##################################################### +# You can use the -v -d -nc options in command line. + +##################################################### +# Following locales won't be deleted from this system +# for example: +C diff --git a/packages.i686 b/packages.i686 index f34f532..7b1412c 100644 --- a/packages.i686 +++ b/packages.i686 @@ -36,3 +36,4 @@ wireless_tools wpa_actiond wpa_supplicant zile +localepurge diff --git a/packages.x86_64 b/packages.x86_64 index 0a79879..1bc3c7f 100644 --- a/packages.x86_64 +++ b/packages.x86_64 @@ -37,3 +37,4 @@ wireless_tools wpa_actiond wpa_supplicant zile +localepurge |