File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ function create_sources_list_and_deploy_repo_key() {
164
164
APT_SIGNING_KEY_FILE=" /usr/share/keyrings/armbian-archive-keyring.gpg"
165
165
gpg --batch --yes --dearmor < " ${SRC} " /config/armbian.key > " ${basedir}${APT_SIGNING_KEY_FILE} "
166
166
167
+ # deploy the qemu binary, no matter where the rootfs came from (built or cached)
168
+ deploy_qemu_binary_to_chroot " ${basedir} " " ${when} " # undeployed at end of this function
169
+
167
170
# lets link to the old file as armbian-config uses it and we can't set there to new file
168
171
# we user force linking as some old caches still exists
169
172
chroot " ${basedir} " /bin/bash -c " ln -fs armbian-archive-keyring.gpg /usr/share/keyrings/armbian.gpg"
@@ -174,6 +177,9 @@ function create_sources_list_and_deploy_repo_key() {
174
177
chroot " ${basedir} " /bin/bash -c " cat armbian.key | apt-key add - > /dev/null 2>&1"
175
178
fi
176
179
180
+ # undeploy the qemu binary from the image; we don't want to ship the host's qemu in the target image
181
+ undeploy_qemu_binary_from_chroot " ${basedir} " " ${when} "
182
+
177
183
# Add Armbian APT repository
178
184
declare -a components=()
179
185
if [[ " ${when} " == " image" * ]]; then # only include the 'main' component when deploying to image (early or late)
You can’t perform that action at this time.
0 commit comments