I want to be able to build either 32-bit applications or 64-bit applications through poudriere.
Since there is no traditional multi-lib in FreeBSD I probably need two jails.
One 64-bit jail, and one 32-bit jail.
I searched the web and found a thread regarding 32-bit wine, and how to build a 32-bit jail.
As for now I only used jails with pre-build world for amd64.
In order to build a 32-bit jail, the OP from the thread mentioned above, did something like:
Everything, except the last line makes sense.
I guess "*/jail/i386" is considered to be mounted on "*/jails/i386" since poudriere creates every new jail in a directory called jails.
So, basically to update that jail, I just need to re-run the make commands above ?
What does -S /usr/src do ?
It specifies the source path, but why do I need it if I already have "/usr/obj/usr/src/i386.i386" and "/usr/obj/usr/src/amd64.amd64".
Inspecting both, there are compiled tools from world which I could use to build/update a poudriere jail, right ?
So, everytime I rebuild world, "/usr/obj/usr/src/i386.i386" and "/usr/obj/usr/src/amd64.amd64" gets updated ?
Wouldn't it make sense to use something like -b instead of -S /usr/src ?
Example:
->
Since there is no traditional multi-lib in FreeBSD I probably need two jails.
One 64-bit jail, and one 32-bit jail.
I searched the web and found a thread regarding 32-bit wine, and how to build a 32-bit jail.
As for now I only used jails with pre-build world for amd64.
In order to build a 32-bit jail, the OP from the thread mentioned above, did something like:
Code:
cd /usr/src
make -j8 TARGET=i386 buildworld
zfs create zroot/poudriere/jail/i386
make TARGET=i386 DESTDIR=/usr/local/poudriere/jail/i386 installworld
make TARGET=i386 DESTDIR=/usr/local/poudriere/jail/i386 distrib-dirs
make TARGET=i386 DESTDIR=/usr/local/poudriere/jail/i386 distribution
poudriere jail -c -j i386 -v 13.0-RC3 -a i386 -m null -M /usr/local/poudriere/jail/i386 -S /usr/src
I guess "*/jail/i386" is considered to be mounted on "*/jails/i386" since poudriere creates every new jail in a directory called jails.
So, basically to update that jail, I just need to re-run the make commands above ?
What does -S /usr/src do ?
It specifies the source path, but why do I need it if I already have "/usr/obj/usr/src/i386.i386" and "/usr/obj/usr/src/amd64.amd64".
Inspecting both, there are compiled tools from world which I could use to build/update a poudriere jail, right ?
So, everytime I rebuild world, "/usr/obj/usr/src/i386.i386" and "/usr/obj/usr/src/amd64.amd64" gets updated ?
Wouldn't it make sense to use something like -b instead of -S /usr/src ?
Example:
->
poudriere jail -c -j i386 -v 13.0-RC3 -a i386 -b -m /usr/src -M /usr/local/poudriere/jail/i386
?