summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-15 19:57:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-15 19:57:04 -0200
commit699db157b56831505a7a8025697837cb3a4d2bed (patch)
tree4209667c1c0680cbe6944f44c62f865e656e4865 /share
parent180b8d34edfd37c199d5ce11bfc648ccd8ae8639 (diff)
downloadhydra-699db157b56831505a7a8025697837cb3a4d2bed.tar.gz
hydra-699db157b56831505a7a8025697837cb3a4d2bed.tar.bz2
Automatic deploy commit; apt-get clean on system-upgrade; TODO update
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/bootless1
-rwxr-xr-xshare/hydractl/system-upgrade3
2 files changed, 4 insertions, 0 deletions
diff --git a/share/hydra/bootless b/share/hydra/bootless
index 9bad724..511b317 100755
--- a/share/hydra/bootless
+++ b/share/hydra/bootless
@@ -314,6 +314,7 @@ function hydra_bootless_device {
}
# Generate a bootless disk image
+# TODO: optionally copy to removable media
function hydra_bootless_image {
local output="$1"
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index aae2ba5..5dfe126 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -65,6 +65,9 @@ fi
# Remove unused packages
apt-get autoremove
+# Cleanup package cache
+apt-get clean
+
# Custom procedures
if [ "$nextrelease" == "wheezy" ]; then
# Old suhosin config