Date: Wed, 14 Aug 2019 09:29:48 -0600 From: Warner Losh <imp@bsdimp.com> To: tech-lists <tech-lists@zyxst.net> Cc: freebsd-pkg@freebsd.org, freebsd-mips@freebsd.org Subject: Re: poudriere-devel question with crossbuilding Message-ID: <CANCZdfoTWpT8K9qXhwuwV=TGEioaNL70ABzugZ4zib4zddohGw@mail.gmail.com> In-Reply-To: <20190814100441.GC73009@bastion.zyxst.net> References: <20190814100441.GC73009@bastion.zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 14, 2019, 4:04 AM tech-lists <tech-lists@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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoTWpT8K9qXhwuwV=TGEioaNL70ABzugZ4zib4zddohGw>