WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit cbf445f

Browse files
committed
call APA hook from rootfs-create.sh
1 parent 5328746 commit cbf445f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/functions/rootfs/rootfs-create.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ function create_new_rootfs_cache_via_debootstrap() {
334334
# don't touch the local cache.
335335
DONT_MAINTAIN_APT_CACHE="yes" chroot_sdcard_apt_get autoremove
336336

337+
if [[ $APA_IS_ACTIVE ]]; then
338+
post_armbian_repo_customize_image__install_from_apa #FIXME: rename this hook
339+
fi
340+
337341
# Purge/clean apt cache in the target. It should _not_ have been used, but if it was, warn & clean.
338342
apt_purge_unneeded_packages_and_clean_apt_caches
339343

0 commit comments

Comments
 (0)