Skip to content

Commit

Permalink
Version bump to properly clear freebsd-update and pkg cache
Browse files Browse the repository at this point in the history
Reference bsdpot/pot#298
  • Loading branch information
bretton committed Oct 9, 2024
1 parent a642ea6 commit e3816e5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions freebsd-potluck/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.0.30

* Version bump to properly clear freebsd-update and pkg cache
* Reference https://github.com/bsdpot/pot/issues/298

---

0.0.29

* Version bump for 14.1 base image
Expand Down
2 changes: 1 addition & 1 deletion freebsd-potluck/freebsd-potluck.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[manifest]
potname="freebsd-potluck"
author = "Stephan Lichtenauer, Bretton Vine, Michael Gmelin"
version="0.0.29"
version="0.0.30"
origin="freebsd"
runs_in_nomad="false"
7 changes: 6 additions & 1 deletion freebsd-potluck/freebsd-potluck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ step "Disable sshd"
service sshd onestop || true
service sshd onedisable || true

step "Clean freebsd-update"
rm -rf /var/db/freebsd-update
mkdir -p /var/db/freebsd-update

step "Create /usr/local/etc/rc.d"
mkdir -p /usr/local/etc/rc.d

Expand Down Expand Up @@ -114,8 +118,9 @@ pkg install -y bash
step "Install package rsync"
pkg install -y rsync

# https://github.com/bsdpot/pot/issues/298
step "Clean package installation"
pkg clean -y
pkg clean -ay

# -------------- END PACKAGE SETUP -------------

Expand Down

0 comments on commit e3816e5

Please sign in to comment.