Took 140% CPU 3:10:45 Elapsed, 15% CPU, 52:39.72 Elapsed, 12% CPU, 1:15:39 Elapsed; 106% CPU 4:16:53 Elapsed second build.
Requires about 12.8GB of disk space, which consists of 1.8GB for the bare clone, 1.1GB for checkout'ed source code and debian/build/ eventually containing about 9.6GB, and 0.3GB under debian.
fakeroot debian/rules clean
on Fedora shows:
/bin/bash: line 2: kernel-wedge: command not found
This is obviously harmless. A new clone is as clean as it is...
Background: problem with cross-built kernel packages
In linux-linaro-oneiric repo, LINARO: Use KBUILD_SCRIPTROOT to cross build scripts KBuild: Allow scripts/* to be cross compiled .
Somewhat more recently, in linux-linaro-raring repo, LINARO: Conditionally use KBUILD_SCRIPTROOT to crossbuild scripts KBuild: Allow scripts/* to be cross compiled , LINARO: Conditionally use KBUILD_SCRIPTROOT to crossbuild scripts KBuild: Allow scripts/* to be cross compiled .
Main Reference: raspberrypi/linux#3279 comment.
Ran ./debian/update.sh
in RPi-Distro/firmware, aftering updating submodules and setting up remote 'upstream' to
point to raspberrypi/firmware. Then use reprepro
to publish.
The script requires git-buildpackage (Homepage/Documentation). This is unfortunately not available on Fedora.
It is highly recommended to do --depth 1
as 1.20180619-211-g543b33c769c
as of 1.20210303 release, Mar 3 2021, is 14GB!
$ du . | tail -n 1
13815308 .
$ du .git | tail -n 1
13402764 .git
Untested