Difference between revisions of "Talk:Archiso"

From ArchWiki
Jump to: navigation, search
(Errors during build)
(NO iso file outpu)
Line 3: Line 3:
 
--[[User:Svenstaro|Svenstaro]] 19:14, 3 June 2009 (EDT)
 
--[[User:Svenstaro|Svenstaro]] 19:14, 3 June 2009 (EDT)
  
 
== NO iso file outpu ==
 
My output of
 
    [root@myhost releng]# ./build.sh build single netinstall
 
is
 
 
    [mkarchiso] INFO: Configuration settings
 
    [mkarchiso] INFO:                  Command:  create
 
    [mkarchiso] INFO:              Architecture:  x86_64
 
    [mkarchiso] INFO:        Working directory:  work/x86_64
 
    [mkarchiso] INFO:    Installation directory:  arch
 
    [mkarchiso] INFO:        Pacman config file:  /etc/pacman.conf
 
    [mkarchiso] INFO:                  Packages:  base
 
   
 
    [mkarchiso] INFO: Installing packages to 'work/x86_64/root-image/'...
 
 
And here is the structure of my /tmp/releng
 
 
    aitab.core   build.sh     core.exclude.x86_64  mkinitcpio.conf  packages.x86_64  syslinux   work
 
    aitab.netinstall  core.exclude.i686  isolinux   packages.i686    root-image     syslinux.dual
 
 
I cannot find any iso file.....Is there anyone could help me?
 
 
: something is wrong with your mirror. Enable verbose mode to see details [[User:Djgera|Djgera]] 12:55, 8 October 2011 (EDT)
 
  
 
==Edit removing mkarchroot references==
 
==Edit removing mkarchroot references==

Revision as of 02:53, 4 April 2012

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)


Edit removing mkarchroot references

I might be misunderstanding the article, but it seems that the edit made on 19th March 2012 was incomplete.

The reasons for the revision was "update according to recent archiso changes (mkarchroot from devtools not used anymore)", so all references to mkarchroot were removed from the section "Building a custom Arch Linux live media. (configs/releng)", however the end of this section refers readers directly to the section "Configure our live medium".

In this section it is assumed that you have created a chroot and are working within it.

My concern is that there is no explanation of how to create this chroot in the article, and no indication if the first section is followed that one should have created one.

Please correct me if I have someone misunderstood or misread this article, thanks.

-- kYd (03/April/2012; 18:33)

Can we get some clarification on this please. Removing the mkarchroot section has rendered the article useless as it seems a pretty vital step.

I used mkarchroot just yesterday and made an iso fine, so it seems to still be applicable.

Thanks. ---

There is no need to use mkarchroot anymore because chroot things are now part of mkarchiso. You can work safe on your system directly, because mkarchiso/build.sh does not use anymore things from "host system". This chroot was needed only if your system differs to much from "standard Arch" or if you want to build an i686-iso on x86_64 host. Another example, long time ago I changed the execution of mkinitcpio from "host system" (using -B BASEDIR) to mkarchiso/mkarchroot (root-image)
Now this is managed directly by mkarchiso with run command and also you can directly build an i686-iso on x86_64 host. See for example, the new build mode "all" in releng/build.sh.
Maybe in the article should clarify about that when say "chroot" is refering to chroot on "$work_dir/root-image" made by mkarchiso.
In other words this what you made previously:
mkarchroot (optional but recommended) -> build.sh -> mkarchiso -> mkarchroot [root-image]
Now:
build.sh -> mkarchiso [root-image]
Of course, you can still work on a chroot made by mkarchroot, but you will have issues with pacman signed packages.
Djgera 15:02, 3 April 2012 (EDT)