poudriere-devel question with crossbuilding

tech-lists tech-lists at zyxst.net
Wed Aug 14 10:04:52 UTC 2019


Hi,

I built a poudriere-devel jail for 120-R for mips64 using native xtools.
I'd like to use poudriere image to make an image with some packages installed.

I invoke the process like this:

poudriere image -h [real_hostname] -j 120R-mips64-x -f ./portslist -n
120R-mips64.img -o ~ -p default -t usb

I get this error immediately:

[00:00:00] Error: The usb media type requires a jail with a kernel

So I look at the manual again and find the -K option for the poudriere jail
creation command and run it like this:

poudriere jail -c -a mips.mips64 -j 120R-mips64-k -m svn+https -J 64 -v
stable/12 -K ""

because the manual says this:

     -K kernelname
                  Install the jail with a kernel.  If the kernelname is an
                  empty string GENERIC will be used.  If installing from ftp
                  then the default kernel will be installed what ever the
                  kernelname value is.

but the error I get is:

--------------------------------------------------------------
>>> World build completed on Tue Aug 13 17:31:12 BST 2019
--------------------------------------------------------------
[00:09:26] Starting make buildkernel with 64 jobs
--- buildkernel ---
make[1]: "/usr/local/poudriere/jails/120R-mips64-k/usr/src/Makefile.inc1" line
1538: Missing KERNCONF
/usr/local/poudriere/jails/120R-mips64-k/usr/src/sys/mips/conf/GENERIC
*** [buildkernel] Error code 1

make: stopped in /usr/local/poudriere/jails/120R-mips64-k/usr/src
1 error

make: stopped in /usr/local/poudriere/jails/120R-mips64-k/usr/src
[00:09:27] Error: Failed to 'make buildkernel'
[00:09:27] Error while creating jail, cleaning up.
[00:09:27] Removing 120R-mips64-k jail... done
[00:09:30] Cleaning 120R-mips64-k data... done

so, how do I install a jail with a kernel?

thanks,
-- 
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20190814/3c2af2ba/attachment.sig>


More information about the freebsd-mips mailing list