ghostbsd / issues

Issue tracker for GhostBSD
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

Adding support to upgrade GhostBSD to use pkgbase. #154

Closed ericbsd closed 3 months ago

ericbsd commented 4 months ago

Command to switch OS packages with pkgbase using bectl.

sudo bectl create basepkg-test
sudo bectl mount basepkg-test /mnt/
sudo pkg-static -r /mnt delete -g 'os-generic-*'
sudo pkg-static -r /mnt install -r GhostBSD-base -g 'GhostBSD-*'
sudo cp /etc/passwd /mnt/etc/passwd
sudo cp /etc/master.passwd /mnt/etc/master.passwd
sudo cp /etc/group /mnt/etc/group
sudo cp /etc/sysctl.conf /mnt/etc/sysctl.conf
sudo chroot /mnt pwd_mkdb -p /etc/master.passwd
sudo bectl umount basepkg-test

Update Station will need to detect that it is time to delete.

ericbsd commented 4 months ago

While working on ghostbsd-build, I was reminded that /proc is now missing when moving to pkgbase.

ericbsd commented 3 months ago

Completed the update was pushed.