mirror of
https://github.com/CopterExpress/clover.git
synced 2026-06-01 15:39:32 +00:00
Compare commits
3 Commits
bookworm
...
backup-deb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93b146986a | ||
|
|
96c67db541 | ||
|
|
fdc650ec2a |
7
.github/workflows/build-image.yaml
vendored
7
.github/workflows/build-image.yaml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user