Difference between revisions of "Talk:Archiso"

From ArchWiki
Jump to: navigation, search
m
(Errors during build)
Line 21: Line 21:
 
  ...
 
  ...
 
These files however are within the /lib/initcpio/hooks/ directory. Are these the same ones it is looking for?
 
These files however are within the /lib/initcpio/hooks/ directory. Are these the same ones it is looking for?
 +
 +
: Each hook must be present in root-image. See [http://projects.archlinux.org/archiso.git/tree/configs/releng/build.sh#n41 make_setup_mkinitcpio()]
 +
: Also hooks has some build requirements. See [http://projects.archlinux.org/archiso.git/tree/README#n107 For these hooks needs these packages (on target root-image)] and how this is implemented in releng [http://projects.archlinux.org/archiso.git/tree/configs/releng/build.sh#n18 make_basefs()]
 +
: [[User:Djgera|Djgera]] 10:37, 23 August 2011 (EDT)
  
 
  [mkarchiso] INFO: Creating ISO image...
 
  [mkarchiso] INFO: Creating ISO image...
 
  /usr/sbin/mkarchiso: line 318: mkisofs: command not found
 
  /usr/sbin/mkarchiso: line 318: mkisofs: command not found
 +
 +
: See [http://projects.archlinux.org/archiso.git/tree/README#n99 Build requirements] also this is present in the wiki.
 +
: [[User:Djgera|Djgera]] 10:37, 23 August 2011 (EDT)
  
 
Also, where does one put the packages.list file? I've tried placing it within the same directory as the build script and mkinitcpio.conf file, but it does not seem to read it.
 
Also, where does one put the packages.list file? I've tried placing it within the same directory as the build script and mkinitcpio.conf file, but it does not seem to read it.
 +
 +
: On any place where you reference inside your build.sh. If you are working with configs/baseline profile, you need to add such functionallity. See configs/releng [http://projects.archlinux.org/archiso.git/tree/configs/releng/build.sh#n21 make_packages()] for more advanced things like this. Baseline profile should be the the most basic as posible.
 +
: [[User:Djgera|Djgera]] 10:37, 23 August 2011 (EDT)
  
 
Thank you.
 
Thank you.

Revision as of 14:37, 23 August 2011

Hi thar! If you guys have any questions or trouble when following this guide, please do post it here, I will come back to you!

--Svenstaro 19:14, 3 June 2009 (EDT)


Errors during build

During the build process, I receive a number of errors (I don't know if they are fatal):

==> Starting build: 3.0-ARCH
 -> Parsing hook: [base]
 -> Parsing hook: [udev]
 -> Parsing hook: [memdisk]
 -> Parsing hook: [archiso]
 -> Parsing hook: [archiso_pxe_nbd]
==> ERROR: file not found: `/tmp/baseline/work/root-image/usr/sbin/nbd-client'
==> ERROR: file not found: `/tmp/baseline/work/root-image/lib/initcpio/ipconfig'
==> ERROR: file not found: `/tmp/baseline/work/root-image/lib/initcpio/hooks/archiso_pxe_nbd'
 -> Parsing hook: [archiso_loop_mnt]
==> ERROR: file not found: `/tmp/baseline/work/root-image/lib/initcpio/hooks/archiso_loop_mnt'
...

These files however are within the /lib/initcpio/hooks/ directory. Are these the same ones it is looking for?

Each hook must be present in root-image. See make_setup_mkinitcpio()
Also hooks has some build requirements. See For these hooks needs these packages (on target root-image) and how this is implemented in releng make_basefs()
Djgera 10:37, 23 August 2011 (EDT)
[mkarchiso] INFO: Creating ISO image...
/usr/sbin/mkarchiso: line 318: mkisofs: command not found
See Build requirements also this is present in the wiki.
Djgera 10:37, 23 August 2011 (EDT)

Also, where does one put the packages.list file? I've tried placing it within the same directory as the build script and mkinitcpio.conf file, but it does not seem to read it.

On any place where you reference inside your build.sh. If you are working with configs/baseline profile, you need to add such functionallity. See configs/releng make_packages() for more advanced things like this. Baseline profile should be the the most basic as posible.
Djgera 10:37, 23 August 2011 (EDT)

Thank you.