Building the Kernel, Missing something


#1

I’m working with a Debian 6.0.10 AMD64 installation in VirtualBox. It’s a bare installation with the standard utilities and SSH server done via a netinstall CD image.

I’ve done this: http://vyos.net/wiki/Howto_build_an_ISO_image

And all is well, I get my ISO.

But, when I do this: http://vyos.net/wiki/Rebuild_VyOS_kernel_Step

When I run make linux-image, I get an error referencing debuilder, which appears fixed by installing the devscripts package. But now when I attempt to build the kernel, I end up with this:

make linux-image
tee: …/linux-3.13_3.13.11-1+vyos1+helium10_amd64.build: Permission denied
dpkg-buildpackage -rfakeroot -D -us -uc -i -b -nc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package linux-3.13
dpkg-buildpackage: source version 3.13.11-1+vyos1+helium10
dpkg-buildpackage: source changed by Daniil Baturin daniil@baturin.org
dpkg-source -i --before-build linux-image
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: kernel-package (>= 10.063)
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1325:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b -nc failed
make: *** [linux-image] Error 29

Can someone please point me in a direction to fix my dev environment?


#2

Looks like the website is out of date. Updating dependencies with those listed on Git solved the build problems. https://github.com/vyos/build-iso