summaryrefslogtreecommitdiff
path: root/backend/modules/install_configure
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2023-11-04 14:48:11 +0100
committerHolger Paradies <retabell@gmx.de>2023-11-04 14:48:11 +0100
commit9e81b3f6087c5dedbf7659cde7bef92ef3b1426d (patch)
treebd59089f46e94b7782e02b7ecc0cf5e600e4aed8 /backend/modules/install_configure
parent10b3d171ecb141c2e7fc869d0b14ca6b6ade8881 (diff)
downloadacritoxinstaller-9e81b3f6087c5dedbf7659cde7bef92ef3b1426d.zip
acritoxinstaller-9e81b3f6087c5dedbf7659cde7bef92ef3b1426d.tar.gz
Fix for package install
Diffstat (limited to 'backend/modules/install_configure')
-rw-r--r--backend/modules/install_configure11
1 files changed, 8 insertions, 3 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index f24be35..b80589d 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -90,10 +90,15 @@ EOF
esac
# if build with debpool install selected packages
+ # make a distinction between uefi and legacy packages
+ # TODO implement ia32
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/"
+ if [ -d /sys/firmware/efi/efivars ]; 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/"
+ fi
+ #cp -f /run/live/medium/debian/pool/main/o/openssh/*.deb "$TARGET/tmp/"
ls "$TARGET/tmp/" >/tmp/target.log
fi