This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:howto:tce [2019/09/17 10:42] stefanbaur [Build system prerequisites for all variants] updated list of required, recommended and optional packages |
doc:howto:tce [2019/09/17 12:02] stefanbaur [Starting the Build] we need to fetch kernel and initrd from the chroot directory to be buildtype-independent |
||
---|---|---|---|
Line 31: | Line 31: | ||
* We suggest leaving at least 4 GB of free disk space so the build won't abort due to insufficient disk space while packages are downloaded, unpacked and copied around. | * We suggest leaving at least 4 GB of free disk space so the build won't abort due to insufficient disk space while packages are downloaded, unpacked and copied around. | ||
* Make sure your package list is up to date by running: < | * Make sure your package list is up to date by running: < | ||
- | * Install the required package(s) by running: < | + | * Install the required package(s) by running: < |
* If you want to speed up subsequent builds, install the recommended package(s) by running: < | * If you want to speed up subsequent builds, install the recommended package(s) by running: < | ||
* If you want to be prepared to be able to cross-build across different architectures (e.g. building an ARM image on an Intel/AMD build host) - a feature coming soon - install the optional package(s) by running: < | * If you want to be prepared to be able to cross-build across different architectures (e.g. building an ARM image on an Intel/AMD build host) - a feature coming soon - install the optional package(s) by running: < | ||
Line 46: | Line 46: | ||
if nc -z 127.0.0.1 3142 ; then | if nc -z 127.0.0.1 3142 ; then | ||
- | export https_proxy=http:// | + | # bad idea with apt-cacher-ng, |
- | export http_proxy=http:// | + | # export https_proxy=http:// |
- | export ftp_proxy=http:// | + | # export http_proxy=http:// |
+ | # export ftp_proxy=http:// | ||
- | export LB_APT_FTP_PROXY=$ftp_proxy | + | export LB_APT_FTP_PROXY=http:// |
- | export LB_APT_HTTP_PROXY=$http_proxy | + | export LB_APT_HTTP_PROXY=http:// |
fi | fi | ||
Line 262: | Line 263: | ||
if lb build ; then | if lb build ; then | ||
echo -e "Build is done: ' | echo -e "Build is done: ' | ||
- | ln ./binary/live/vmlinuz ./ | + | ln $(realpath |
- | ln ./binary/live/initrd.img ./ | + | ln $(realpath |
ln ./ | ln ./ | ||