mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
fix dir
This commit is contained in:
parent
f857b5fec1
commit
f81a3b96a8
3 changed files with 5 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -11,4 +11,4 @@
|
|||
/lorax.conf
|
||||
/output
|
||||
/*.log
|
||||
|
||||
/cache
|
||||
|
|
@ -156,8 +156,8 @@ runs:
|
|||
flatpak install --system -y ${{ inputs.flatpak_remote_refs }} ${DIR_REFS}
|
||||
mv /flatpak/flatpak/repo/refs/heads/deploy/* /flatpak/flatpak/repo/refs/heads/
|
||||
rmdir /flatpak/flatpak/repo/refs/heads/deploy
|
||||
cp -R /flatpak/flatpak /flatpak_dir/
|
||||
ostree refs --repo=/flatpak_dir/flatpak/repo
|
||||
cp -R /flatpak/flatpak/* /flatpak_dir/
|
||||
ostree refs --repo=/flatpak_dir/repo
|
||||
EOF
|
||||
docker run --rm --privileged --entrypoint bash -e FLATPAK_SYSTEM_DIR=/flatpak/flatpak -e FLATPAK_TRIGGERSDIR=/flatpak/triggers --volume ${{ github.workspace }}/${FLATPAK_DIR}:/flatpak_dir ${image} /flatpak_dir/script.sh
|
||||
echo "flatpak_dir=${FLATPAK_DIR}" >> $GITHUB_OUTPUT
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ echo "-chmod 0444 EFI/BOOT/grub.cfg"
|
|||
|
||||
if [[ -n "${FLATPAK_DIR}" ]]
|
||||
then
|
||||
pushd ${FLATPAK_DIR} > /dev/null
|
||||
for file in $(find)
|
||||
pushd ${FLATPAK_DIR}/flatpak > /dev/null
|
||||
for file in $(find *)
|
||||
do
|
||||
echo "-map $(pwd)/${file} flatpak/${file}"
|
||||
echo "-chmod 0444 flatpak/${file}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue