poudriere-devel question with crossbuilding

Warner Losh imp at bsdimp.com
Wed Aug 14 15:30:03 UTC 2019


On Wed, Aug 14, 2019, 4:04 AM tech-lists <tech-lists at zyxst.net> wrote:

> 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
>

Mips doesn't have a GENERIC config. You will have to pick a different one.

Warner

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.
>


More information about the freebsd-mips mailing list