Skip to content

Commit

Permalink
test*
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Dec 5, 2024
1 parent bfe5fd6 commit 68e1492
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/buildimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,6 @@ jobs:
fi
# local packages
[ -f "packages/packages.adb" ] || sed -i '/^packages\/packages.adb/d' repositories
# fantastic feeds
n=$(sed -n '$=' repositories)
sed -i "${n}a\
https://github.com/$GITHUB_REPOSITORY_OWNER/packages/raw/gh-pages/releases/$BRANCH/packages/$ARCH_PACKAGES/packages/packages.adb\n\
https://github.com/$GITHUB_REPOSITORY_OWNER/packages/raw/gh-pages/releases/$BRANCH/packages/$ARCH_PACKAGES/luci/packages.adb\n\
https://github.com/$GITHUB_REPOSITORY_OWNER/packages/raw/gh-pages/releases/$BRANCH/packages/$ARCH_PACKAGES/special/packages.adb" \
repositories
# ROOTFS_SIZE
sed -i "s|\(\bCONFIG_TARGET_ROOTFS_PARTSIZE\)=.*|\1=$ROOTFS_SIZE|" .config
#
Expand All @@ -190,9 +183,7 @@ jobs:
shell: bash
run: |
INSTALLS=''
url="https://github.com/$GITHUB_REPOSITORY/raw/$CONFBRANCH/$preinstalled \
https://github.com/$GITHUB_REPOSITORY_OWNER/packages/raw/master/.github/workflows/prebuildpackages/generic \
https://github.com/$GITHUB_REPOSITORY_OWNER/packages/raw/master/.github/workflows/prebuildpackages/$ARCH_PACKAGES"
url="https://github.com/$GITHUB_REPOSITORY/raw/$CONFBRANCH/$preinstalled"
for l in $url; do
if [ "$(curl -sL -w '%{http_code}' "$l" -o preinstalled)" != "404" ]; then
INSTALLS=${INSTALLS:+$INSTALLS }$(cat preinstalled 2>/dev/null | tr '\n' ' ')
Expand Down

0 comments on commit 68e1492

Please sign in to comment.