mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
ensure flatpak is installed
This commit is contained in:
parent
8181993e1c
commit
66fa914993
2 changed files with 8 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -36,6 +36,10 @@ ifeq ($(WEB_UI),true)
|
|||
_LORAX_ARGS += -i anaconda-webui
|
||||
endif
|
||||
|
||||
ifneq ($(FLATPAK_REMOTE_REFS),)
|
||||
_LORAX_ARGS += -i flatpak-libs
|
||||
endif
|
||||
|
||||
# Step 7: Buid end ISO
|
||||
## Default action
|
||||
build/deploy.iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.txt
|
||||
|
|
@ -105,7 +109,7 @@ clean:
|
|||
rm -f $(_BASE_DIR)/*.log || true
|
||||
|
||||
install-deps:
|
||||
dnf install -y lorax xorriso skopeo
|
||||
dnf install -y lorax xorriso skopeo flatpak
|
||||
|
||||
.PHONY: clean install-deps
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
set -ex
|
||||
|
||||
# Create /dev/loop0 if it doesn't already exist. `losetup` has an issue creating it during the first run
|
||||
mknod -m 0660 /dev/loop0 b 7 0 2>/dev/null || true
|
||||
|
||||
for entry in $@
|
||||
do
|
||||
export $entry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue