Perhaps a silly question... what's the easiest way to use #pkgbase in a #FreeBSD jail? All the instructions I found just install FreeBSD-* which seems...excessive.
@gsuberland I am currently contemplating redoing a bunch of my jails as pkgbase (instead of relying on freebsd-update). But all the howtos I found (at least so far) just install FreeBSD-* which contains a lot of stuff that the jails don't need (kernel, kernel modules, etc.).
@jeffpc hmm, I'm not quite following what the goal is. "using pkgbase to make a jail" sorta feels like a thick/classic jail, but maybe I'm misunderstanding what you're trying to do.
@gsuberland well, I'd use pkgbase to make a template that I'd zfs clone for each jail, but that's (IMO) not relevant.
The "problem" is that I can't seem to find a list of packages that correspond to base.txz or more accurately a list of packages that are required in a jail. I don't need to waste 100s of MB on what amounts to kernel*.txz, etc.
@jeffpc not sure exactly the best approach for that. if the goal is to have some default set of packages when you create a jail, it might make more sense to have an installer script that you run in the jail, so you don't end up with weird complexities when you're doing jail upgrades.
Add comment