On Thu, Oct 17, 2019 at 04:39:55PM +0200, Artur Wiebe wrote: > Hi Michael, > > Unfortunately the kernel build fails if rootfs is included as initramfs. > Please see the error message below. > > Best Regards, > Artur > > # > # Generate images/linuximage > # > PTXCONF_IMAGE_KERNEL_INITRAMFS=y > PTXCONF_IMAGE_KERNEL_INSTALL_LATE=y > # PTXCONF_IMAGE_KERNEL_LZOP is not set > > > ---------------------- > target: kernel.prepare > ---------------------- > > Using config file: 'boot/configs/platform-x86/kernelconfig' > > make: Entering directory '/mnt/boot/platform-x86/build-target/linux-4.19.79' > make[1]: Entering directory > '/mnt/boot/platform-x86/build-target/linux-4.19.79-build' > HOSTCC scripts/basic/fixdep > GEN ./Makefile > HOSTCC scripts/kconfig/conf.o > YACC scripts/kconfig/zconf.tab.c > LEX scripts/kconfig/zconf.lex.c > HOSTCC scripts/kconfig/zconf.tab.o > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf --oldconfig Kconfig > # > # configuration written to .config > # > make[1]: Leaving directory > '/mnt/boot/platform-x86/build-target/linux-4.19.79-build' > make: Leaving directory '/mnt/boot/platform-x86/build-target/linux-4.19.79' > > touch: cannot touch '/mnt/boot/platform-x86/state-build/empty.cpio': No such > file or directory > /usr/local/lib/ptxdist-2019.10.1/rules/kernel.make:104: recipe for target > '/mnt/boot/platform-x86/state/kernel.prepare' failed > make: *** [/mnt/boot/platform-x86/state/kernel.prepare] Error 1
Right, that's a search and replace issue... Just copy kernel.make to your BSP and remove the '-build' from 'state-build'. That fix should hit ptxdist master in the near future. Michael > > > > -- > Dipl.-Ing. Artur Wiebe > Software-Ingenieur > > Email: [email protected] > Telefon: +491632699840 > Web: artur.4wiebe.de > Quellenstraße 49, 72124 Pliezhausen > USt-IdNr: DE299286057 > > On Thursday, October 17, 2019 11:40 CEST, Michael Olbrich > <[email protected]> wrote: > > > Hi, > > > > I'm (not so) happy to announce that I've just released ptxdist-2019.10.1. > > > > This just fixes building images packages that have a config file. > > > > It's just one commit, but the shortlog below is as always below. > > > > Enjoy, > > Michael Olbrich > > > > > > Michael Olbrich (1): > > ptxd_lib_dgen: fix <PKG>_CONFIG handling > > > > -- > > Pengutronix e.K. | | > > Industrial Linux Solutions | http://www.pengutronix.de/ | > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > > _______________________________________________ > ptxdist mailing list > [email protected] -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
