You are not logged in.

#1 2021-07-22 04:43:45

somethingaserhuerhyuhyrhy
Member
Registered: 2021-07-22
Posts: 2

Archiso fails building because airootfs/usr/lib/os-release exists

Hello,
I am trying to make my own arch linux based distribution and now I added a file called `airootfs/usr/lib/os-release` and it's just a basic os-release file.
When I try building it using archiso with this script:

#!/bin/bash
rm -rf work/* iso/*
mkarchiso -v -w ./work -o ./iso ./archlive

it fails.
The error I get is:

error: failed to commit transaction (conflicting files)
filesystem: /home/ari/ventricle_linux/work/x86_64/airootfs/usr/lib/os-release exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

My folder structure looks like this:

 .
├──  a
├──  archlive
│  ├──  airootfs
│  ├──  bootstrap_packages.x86_64
│  ├──  efiboot
│  ├──  packages.x86_64
│  ├──  pacman.conf
│  ├──  profiledef.sh
│  └──  syslinux
├──  build.sh
├──  iso
└──  work
   ├──  base._make_custom_airootfs
   ├──  base._make_pacman_conf
   ├──  build_date
   ├──  iso.pacman.conf
   └──  x86_64

It's been a day and I cannot figure it out, thanks for your help in advance.

Last edited by somethingaserhuerhyuhyrhy (2021-07-22 05:04:11)

Offline

#2 2021-07-22 06:36:48

somethingaserhuerhyuhyrhy
Member
Registered: 2021-07-22
Posts: 2

Re: Archiso fails building because airootfs/usr/lib/os-release exists

appearantly i need to maintainain my own version of the filesystem package, but there's literally no documentation on that

Offline

#3 2021-07-22 12:48:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Archiso fails building because airootfs/usr/lib/os-release exists

You will have to maintain a lot more packages then just filesystem.

Are you familiar with pacman, makepkg , aur and abs ?
If not, search archwiki for those termsn and start reading .

Last edited by Lone_Wolf (2021-07-22 12:49:46)


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

Board footer

Powered by FluxBB