Compare commits

...

3 Commits

Author SHA1 Message Date
Oleg Kalachev
93b146986a Remove apt-cache clean call 2024-04-15 00:15:41 +03:00
Oleg Kalachev
96c67db541 Upload image to artifacts on manual workflow run 2024-04-14 21:32:05 +03:00
Oleg Kalachev
fdc650ec2a Make apt store all downloaded deb-files 2024-04-14 18:52:17 +03:00
3 changed files with 11 additions and 1 deletions

View File

@@ -28,3 +28,10 @@ jobs:
prerelease: true prerelease: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload image to artifacts
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/upload-artifact@v3
with:
name: image
path: images/clover_*.zip
retention-days: 1

View File

@@ -58,4 +58,7 @@ sed -i 's/#SystemMaxUse=/SystemMaxUse=200M/' /etc/systemd/journald.conf
echo_stamp "Move /etc/ld.so.preload out of the way" echo_stamp "Move /etc/ld.so.preload out of the way"
mv /etc/ld.so.preload /etc/ld.so.preload.disabled-for-build mv /etc/ld.so.preload /etc/ld.so.preload.disabled-for-build
echo_stamp "Setup apt so it store all the downloaded packages"
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/02keep-debs
echo_stamp "End of init image" echo_stamp "End of init image"

View File

@@ -184,7 +184,7 @@ EOF
# Restore original sources.list # Restore original sources.list
#mv /var/sources.list.bak /etc/apt/sources.list #mv /var/sources.list.bak /etc/apt/sources.list
# Clean apt cache # Clean apt cache
apt-get clean -qq > /dev/null # apt-get clean -qq > /dev/null
# Remove local mirror repository key # Remove local mirror repository key
#apt-key del COEX-MIRROR #apt-key del COEX-MIRROR