From cc7f46832710006a66a874258cd62464af5da4cd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 4 Mar 2011 12:37:14 +0100 Subject: [PATCH] xbps-mklive: also run 'xbps-bin purge all' after auto{update,remove}. --HG-- branch : gnome3 --- srcpkgs/xbps-mklive/files/xbps-mklive.sh.in | 1 + srcpkgs/xbps-mklive/template | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xbps-mklive/files/xbps-mklive.sh.in b/srcpkgs/xbps-mklive/files/xbps-mklive.sh.in index 4f2d83c4186..4aa1929f7bd 100644 --- a/srcpkgs/xbps-mklive/files/xbps-mklive.sh.in +++ b/srcpkgs/xbps-mklive/files/xbps-mklive.sh.in @@ -188,6 +188,7 @@ fi xbps-bin.static -r $TEMP_ROOTFS -y install ${PACKAGE_LIST} || error_out $? xbps-bin.static -r $TEMP_ROOTFS -y autoupdate || error_out $? xbps-bin.static -r $TEMP_ROOTFS -yp autoremove || error_out $? +xbps-bin.static -r $TEMP_ROOTFS -yvp purge all || error_out $? xbps-bin.static -r $TEMP_ROOTFS list > ${OUTPUT_FILE%.iso}-package-list.txt info_msg "Creating /etc/motd..." diff --git a/srcpkgs/xbps-mklive/template b/srcpkgs/xbps-mklive/template index 94cedb33397..ec9bf816df2 100644 --- a/srcpkgs/xbps-mklive/template +++ b/srcpkgs/xbps-mklive/template @@ -1,6 +1,6 @@ # Template file for 'xbps-mklive' pkgname=xbps-mklive -version=0.3.3 +version=0.3.4 build_style=custom-install short_desc="XBPS Live image maker" maintainer="Juan RP " @@ -14,7 +14,7 @@ noarch=yes Add_dependency full cdrtools Add_dependency full squashfs-tools Add_dependency full syslinux -Add_dependency full initramfs-tools ">=0.99.debian0.94.4" +Add_dependency full initramfs-tools do_build() {