Closed ericbsd closed 5 months ago
To build the pkgbase packages for GhostBSD without touching Makefile.inc1:
make buildworld buildkernel
make PKG_NAME_PREFIX=GhostBSD PKG_VERSION=24.04.1 packages
We can set PKG_REPO_SIGNING_KEY
to sign all packages.
Replacing 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
This issue investigates and notes what is needed to accomplish Switch OS packages to pkgbase.
Add the task to the epic issue Switch OS packages to pkgbase.