summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2023-10-31 12:48:24 +0100
committerHolger Paradies <retabell@gmx.de>2023-10-31 12:48:24 +0100
commitec52910595c3ce85a2f482260fdf93dbef74df70 (patch)
tree18e6b0431330eca4df0fe989cc67f179a07872e5 /backend
parent8d80bb9a8d013524d50f34980e4aa31683733cad (diff)
downloadacritoxinstaller-ec52910595c3ce85a2f482260fdf93dbef74df70.zip
acritoxinstaller-ec52910595c3ce85a2f482260fdf93dbef74df70.tar.gz
Install selected packages if build with debpool
is useful for amd64 only (grub-efi)
Diffstat (limited to 'backend')
-rw-r--r--backend/modules/install_configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index f1d479e..94f686f 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -81,6 +81,14 @@ EOF
;;
esac
+ # if build with debpool install selected packages
+ if [ -d /run/live/medium/debian ]; then
+ cp -f /run/live/medium/debian/pool/main/g/grub2/*.deb "$TARGET/tmp/"
+# cp -f /run/live/medium/debian/pool/main/m/mokutil/*.deb "$TARGET/tmp/"
+# cp -f /run/live/medium/debian/pool/main/r/refind/*.deb "$TARGET/tmp/"
+ ls "$TARGET/tmp/" >/tmp/target.log
+ fi
+
# install hooks
if [ "$(ls $TARGET/usr/share/acritoxinstaller/target-config)" ]; then
for hook in $TARGET/usr/share/acritoxinstaller/target-config/*
@@ -143,6 +151,11 @@ function configure_target_purge_live_only_stuff()
# remove unused stuff
chroot_it apt-get autoremove --purge --yes
+
+ # install copied file from debpool
+ if [ -d /run/live/medium/debian ]; then
+ DEBIAN_FRONTEND=noninteractive chroot_it dpkg -R -i /tmp
+ fi
# remove kde-config-touchpad if no touchpad is available
[ "$(su "$FLL_LIVE_USER" -c "qdbus org.kde.synaptiks /modules/synaptiks org.kde.Synaptiks.isTouchpadAvailable")" = true ] && \