Closed tswaehn closed 4 years ago
looks like manual install of bison solves the job
sudo apt-get install bison
Actually flex was missing too
sudo apt-get install flex
Question: is it expected to install these manually or shall we check and install automatically?
if needed, we could modify this line
REQUIRED_PACKAGES="debootstrap debian-archive-keyring qemu-user-static binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus sudo"
and add flex,bison
Kernel package build dependencies change over time as the kernel developers change the configuration. Make sure you have deb-src
entries in sources.list
and use apt-get build-dep KERNEL
where KERNEL is the name of a recent kernel package.
I just did setup a fresh debian and installed all "kernel depencies" as per you suggetion
apt-get build-dep linux-image-XXXX
and it did the trick.
However, for me speaking that step is missing in the README.md
Is there a general way of adding this to the README.md ?
Question: is it expected to install these manually or shall we check and install automatically?
it is unexpected. If flex
and bison
are now required for default kernel, add it to the REQUIRED_PACKAGES
.
Last time i checked only nexmon
and uboot
option required those packages.
Could you create a pull request?
Thanks/Danke!
Created pull request
fixed!
I created a fresh debian x64 VM on virtualbox, cloned the rpi23-gen-image and tried to create an image for RPI3 stretch (all settings default)
(first minor issue was, that Qemu was not installed automatically - fixed that manually)
but second issue is the one below: