You are not logged in.

#1 2016-10-02 20:16:20

pquiring
Member
Registered: 2016-10-02
Posts: 4

archiso can not execute mkinitcpio

Trying to use archiso to create my own distro based on Arch.

Getting this error message now:
chroot: failed to run command 'mkinitcpio': No such file or directory

I tried to add mkinitcpio to packages.both but no change.

Also will the new ISO images inherit my custom repo key?  I've installed it with pacman-key --add but not sure how to add it to the iso that will be generated once I get this working.

PS.  The ArchISO Wiki needs more info on adding your own repo (not a local one but a web hosted one) (and how to sign it properly).

Thanks.

Offline

#2 2016-10-03 13:34:38

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: archiso can not execute mkinitcpio

PS.  The ArchISO Wiki needs more info on adding your own repo (not a local one but a web hosted one)

Just add it in ~/archlive/pacman.conf
No idea about signing.

Getting this error message now:
chroot: failed to run command 'mkinitcpio': No such file or directory

for clarity, what is the exact command that gave you that error ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-10-03 17:25:25

pquiring
Member
Registered: 2016-10-02
Posts: 4

Re: archiso can not execute mkinitcpio

I'm using the archiso build.sh command to build the iso images.
It runs for a few minutes and then stops with the error message.

Offline

#4 2016-10-04 15:59:46

pquiring
Member
Registered: 2016-10-02
Posts: 4

Re: archiso can not execute mkinitcpio

It has something to do with adding my own custom repo to pacman.conf - if I remove that it works fine.

Offline

#5 2016-10-04 18:59:44

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: archiso can not execute mkinitcpio

Are there packages in your custom repo with the same name as official packages ?

Did you put your repo above the official ones ?

are you using a custom kernel ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-10-05 17:47:18

pquiring
Member
Registered: 2016-10-02
Posts: 4

Re: archiso can not execute mkinitcpio

Should be all unique package names, they all start with 'jf'.

I put my repo and the end of pacman.conf
cat myrepo.conf >> ~/archlive/pacman.conf

What ever the default kernel is.

My packages are all java based (which I package myself using scripts).  If I add the repo to running system and use pacman to retrieve my custom packages that seems to work.

Offline

Board footer

Powered by FluxBB