User Tools

Site Tools


doc:howto:tce

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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: <code>sudo apt-get update </code>   * Make sure your package list is up to date by running: <code>sudo apt-get update </code>
-  * Install the required package(s) by running: <code>sudo apt-get install genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc lsb-release</code>+  * Install the required package(s) by running: <code>sudo apt-get install genisoimage git-core live-build live-config-doc live-manual-html live-boot-doc lsb-release netcat-traditional</code>
   * If you want to speed up subsequent builds, install the recommended package(s) by running: <code>sudo apt-get install apt-cacher-ng</code>   * If you want to speed up subsequent builds, install the recommended package(s) by running: <code>sudo apt-get install apt-cacher-ng</code>
   * 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: <code>sudo apt-get install qemu-user-static</code>   * 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: <code>sudo apt-get install qemu-user-static</code>
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://127.0.0.1:3142/  + # bad idea with apt-cacher-ng, but will work with e.g. squid 
- export http_proxy=http://127.0.0.1:3142+export https_proxy=http://127.0.0.1:3128/  
- export ftp_proxy=http://127.0.0.1:3142/+ export http_proxy=http://127.0.0.1:3128
 + export ftp_proxy=http://127.0.0.1:3128/
  
- export LB_APT_FTP_PROXY=$ftp_proxy + export LB_APT_FTP_PROXY=http://127.0.0.1:3142/  
- export LB_APT_HTTP_PROXY=$http_proxy+ export LB_APT_HTTP_PROXY=http://127.0.0.1:3142/ 
 fi fi
  
Line 262: Line 263:
     if lb build ; then     if lb build ; then
         echo -e "Build is done: '$LBX2GO_TCEDIR'"         echo -e "Build is done: '$LBX2GO_TCEDIR'"
-        ln ./binary/live/vmlinuz ./x2go-tce-vmlinuz +        ln $(realpath ./chroot/vmlinuz./x2go-tce-vmlinuz 
-        ln ./binary/live/initrd.img ./x2go-tce-initrd.img+        ln $(realpath ./chroot/initrd.img./x2go-tce-initrd.img
         ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs         ln ./binary/live/filesystem.squashfs ./x2go-tce-filesystem.squashfs
  
doc/howto/tce.txt · Last modified: 2024/01/26 19:49 by stefanbaur