Skip to content

Commit

Permalink
Merge branch 'main' into power-profile-notif
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored May 11, 2024
2 parents 136c091 + 802ab1b commit d5f983b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions scripts/build-iso-ghcr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fi
# Make ISO
${container_mgr} run --rm --privileged \
--volume "${workspace}"/scripts/files/output:/build-container-installer/build \
--volume "${workspace}/${flatpak_dir_shortname}":"/build-container-installer/${flatpak_dir_shortname}" \
ghcr.io/jasonn3/build-container-installer:latest \
ARCH="x86_64" \
ENABLE_CACHE_DNF="false" \
Expand Down
1 change: 1 addition & 0 deletions scripts/build-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ fi
${container_mgr} run --rm --privileged \
--volume "${api_socket}":/var/run/docker.sock \
--volume "${workspace}"/scripts/files/build-iso-makefile-patch:/build-container-installer/container/Makefile \
--volume "${workspace}/${flatpak_dir_shortname}":"/build-container-installer/${flatpak_dir_shortname}" \
--volume "${workspace}"/scripts/files/output:/build-container-installer/build \
ghcr.io/jasonn3/build-container-installer:latest \
ARCH="x86_64" \
Expand Down
8 changes: 4 additions & 4 deletions scripts/cleanup-dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fi
set -euox pipefail

#shellcheck disable=SC2154
rm -f "${project_root}"/*.iso
rm -f "${project_root}"/*_flatapks/flatpaks_with_deps
rm -rf "${project_root}"/flatpak.*
rm -rf "${project_root}"/scripts/files/home/ublue-os/*
rm -f "${project_root}"/scripts/files/output/* #ISOs
rm -f "${project_root}"/*_flatapks/flatpaks_with_deps #Flatpak Deps
rm -rf "${project_root}"/flatpak.* #Flatpak Tempdir
rm -rf "${project_root}"/scripts/files/home/ublue-os/* #Test User Home
6 changes: 5 additions & 1 deletion scripts/common-build-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,8 @@ fi
if [[ -f /.dockerenv ]]; then
TEMP_FLATPAK_INSTALL_DIR=${project_root}/$(echo "${TEMP_FLATPAK_INSTALL_DIR}" | rev | cut -d / -f 1 | rev)
fi
rm -rf "${TEMP_FLATPAK_INSTALL_DIR}"
rm -rf "${TEMP_FLATPAK_INSTALL_DIR}"

# Remove old ISO if present
rm -f "${project_root}/scripts/files/output/${tag}-${version}.iso"
rm -f "${project_root}/scripts/files/output/${tag}-${version}.iso-CHECKSUM"
4 changes: 3 additions & 1 deletion scripts/run-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ fi

${container_mgr} run --rm --cap-add NET_ADMIN \
--publish 127.0.0.1:8006:8006 \
--env "DISK_SIZE=50G" \
--env "CPU_CORES=2" \
--env "RAM_SIZE=4G" \
--env "DISK_SIZE=64G" \
--env "BOOT_MODE=uefi" \
--device=/dev/kvm \
--volume "${workspace}/scripts/files/output/${tag}-${version}.iso":/boot.iso \
Expand Down

0 comments on commit d5f983b

Please sign in to comment.