Skip to content

Commit 7bd5515

Browse files
attempt to fix problem with GitHub workflow
fix GitHub Workfllow permissions to pipe apt sources to chroot directory
1 parent 5e7221b commit 7bd5515

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/scripts/build-hirsute.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ ENABLE_USER_SETUP=false
1414
PREFIX="${frn}"
1515

1616
additional_setup() {
17+
18+
# GitHub workflow specific
19+
# try to add permissions to $chroot_dir/etc/apt/sources.list
20+
sudo chmod +r+w $chroot_dir/etc/apt/sources.list
21+
1722
cat <<- EOF > $chroot_dir/etc/apt/sources.list
1823
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
1924
# newer versions of the distribution.

.github/scripts/build-impish.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ ENABLE_USER_SETUP=false
1414
PREFIX="${frn}"
1515

1616
additional_setup() {
17+
18+
# GitHub workflow specific
19+
# try to add permissions to $chroot_dir/etc/apt/sources.list
20+
sudo chmod +r+w $chroot_dir/etc/apt/sources.list
21+
1722
cat <<- EOF > $chroot_dir/etc/apt/sources.list
1823
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
1924
# newer versions of the distribution.

.github/scripts/build-jammy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ ENABLE_USER_SETUP=false
1414
PREFIX="${frn}"
1515

1616
additional_setup() {
17+
18+
# GitHub workflow specific
19+
# try to add permissions to $chroot_dir/etc/apt/sources.list
20+
sudo chmod +r+w $chroot_dir/etc/apt/sources.list
21+
1722
cat <<- EOF > $chroot_dir/etc/apt/sources.list
1823
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
1924
# newer versions of the distribution.

0 commit comments

Comments
 (0)