You are not logged in.

#1 2025-01-31 11:19:39

v38armageddon
Member
From: France
Registered: 2022-07-05
Posts: 3
Website

[SOLVED] How to properly create an own fork of the filesystem package

Hello everyone,

I wanted to create my own modifications of the name of my system and make permanent changes for the following files:

  • os-release

  • issue

  • lsb_release

  • Adding a /src folder

I've already clone the default filesystem package by using pkgctl, made some modifications.

The problem is: when I want to install on my system, it conflicts with the arch filesystem package (this is obviously logic), and I can't replace it without breaking my installation.

For those who've already made his own filesystem package, what is the good method to replace the default filesystem package by a custom one?

Last edited by v38armageddon (2025-02-01 13:49:52)

Offline

#2 2025-01-31 11:35:15

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 914
Website

Re: [SOLVED] How to properly create an own fork of the filesystem package

Why are you doing this? Also you should make your filesystem package provides=(...) and replaces=(...) the filesystem package or if you just want to have it locally just keep using the name "filesystem".

Offline

#3 2025-01-31 15:37:20

v38armageddon
Member
From: France
Registered: 2022-07-05
Posts: 3
Website

Re: [SOLVED] How to properly create an own fork of the filesystem package

gromit wrote:

Why are you doing this?

I just love customizing my system from top to bottom of all parts.

gromit wrote:

Also you should make your filesystem package provides=(...) and replaces=(...) the filesystem package or if you just want to have it locally just keep using the name "filesystem".

If I understand correctly, I should add "filesystem" in provides=("filesystem") and replaces=("filesystem") in my filesystem-custom PKGBUILD package to ensure it properly replaces the arch filesystem package. Is that what you're suggesting?

Offline

#4 2025-01-31 16:08:56

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 914
Website

Re: [SOLVED] How to properly create an own fork of the filesystem package

Yes or just keep the name as "filesystem" so that the arch one is automatically overwritten ...

Offline

#5 2025-02-01 13:49:31

v38armageddon
Member
From: France
Registered: 2022-07-05
Posts: 3
Website

Re: [SOLVED] How to properly create an own fork of the filesystem package

gromit wrote:

Yes or just keep the name as "filesystem" so that the arch one is automatically overwritten ...

After adding provides=("filesystem") and replaces=("filesystem"), it worked like a charm, thank you for the clarification!

Offline

Board footer

Powered by FluxBB