Remove stale AUR packages from cache during build
This commit is contained in:
parent
1cd3571253
commit
8e05cb0e40
1 changed files with 7 additions and 0 deletions
|
|
@ -296,6 +296,13 @@ function build_iso() {
|
|||
chown root:root "$LIVE_DIR" -R
|
||||
chmod 700 "$LIVE_DIR/airootfs/etc/skel/.ssh"
|
||||
chmod 600 "$LIVE_DIR/airootfs/etc/skel/.ssh/id_rsa"
|
||||
|
||||
# Removing cached (and possibly outdated) custom repo packages
|
||||
for package in $(cat "$ROOT_DIR/.linux_items/packages/aur"); do
|
||||
if [[ -f /var/cache/pacman/pkg/${package}* ]]; then
|
||||
rm /var/cache/pacman/pkg/${package}*
|
||||
fi
|
||||
done
|
||||
|
||||
# Build ISO
|
||||
prefix="${KIT_NAME_SHORT}-Linux"
|
||||
|
|
|
|||
Loading…
Reference in a new issue