💾 Archived View for uscoffings.net › tech › freebsd › poudriere.gmi captured on 2024-06-19 at 22:51:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

-=-=-=-=-=-=-

Poudriere to manage FreeBSD ports

[date: 2017-08-06]

portmaster ports-mgmt/poudriere
vim /usr/local/etc/poudriere.conf

Create a jail targeting the device:

poudriere jail -c -v 11.1-RELEASE -a i386 -j tablet
poudriere jail -l

Update it occasionally:

poudriere jail -u -j tablet

To update to a new release:

poudriere jail -u -t 11.2-RELEASE -j tablet

Create a new ports tree (sharing my existing ports tree with the server) and name it `server`:

poudriere ports -c -F -f none -M /usr/ports -p server

Add a new package:

vim /usr/local/etc/poudriere.d/tablet-recipe-pkglist

Set user options for all packages:

poudriere options -j tablet -p server -z recipe -f /usr/local/etc/poudriere.d/tablet-recipe-pkglist

To reconfigure a particular port:

poudriere options -j tablet -p server -z recipe -c foo/bar

Rebuild all ports:

poudriere bulk -j tablet -p server -z recipe -f /usr/local/etc/poudriere.d/tablet-recipe-pkglist

other notes.......

poudriere ports -c -F -f none -M /work/ports -p server
poudriere ports -l
scp root@tablet:/etc/make.conf /usr/local/etc/poudriere.d/tablet-make.conf
scp root@tablet:pkglist /usr/local/etc/poudriere.d/tablet-recipe-pkglist
vim /usr/local/etc/poudriere.d/tablet-recipe-pkglist

poudriere bulk -j tablet -z recipe -f /usr/local/etc/poudriere.d/tablet-recipe-pkglist
poudriere ports -l
poudriere bulk -j tablet -p server -z recipe -f /usr/local/etc/poudriere.d/tablet-recipe-pkglist
poudriere ports -d -p server
poudriere bulk -j tablet -p server -z recipe -f /usr/local/etc/poudriere.d/tablet-recipe-pkglist
ls /usr/local/poudriere/data/packages/
ls /usr/local/poudriere/data/packages/tablet-server-recipe/

Serve packages up:

vim /usr/local/etc/lighttpd/lighttpd.conf
$SERVER["socket"] == "0.0.0.0:82" {
	server.document-root = "/usr/local/poudriere/data/packages/tablet-server-recipe/"
}

Make tablet use the server for packages:

audio/xfce4-mixer graphics/evince sysutils/xfce4-power-manager sysutils/xfce4-settings x11-wm/xfce4 x11-wm/xfce4-desktop x11-wm/xfce4-panel