[OPEN] Automatic "personal" command possible? (or at least its effect)

vcaselli
Crewman
Posts: 33
Joined: Sat Dec 14, 2019 8:25 am
Location: Livorno
Contact:

Re: [OPEN] Automatic "personal" command possible? (or at least its effect)

Post by vcaselli »

Ok, back again: now doing it all on a VirtualBox with ext4.

I did the following:
* in folder arco-plasma (root of the git cloned structure) created subfolder etc/skel
* inside folder arco-plasma/etc/skel/ prepared .config (along with others)
* changed 30-build-the-iso-the-first-time.sh script in phase 4 adding the command

Code: Select all

cp -rf ../etc $buildFolder/archiso/airootfs/ 
Now I can build an iso which brings .config and all other stuff into the home directory!
This is a wonderful result!!

But ... if I try to add there a file that already exists (for example .config/kdeglobals - the idea would be to overwrite it), then I get this:

Code: Select all

(1213/1213) checking for file conflicts                                                                                                         [----------------------------------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
arcolinux-plasma-git: /home/opendesktop/arcolinuxb-build/x86_64/airootfs/etc/skel/.config/kdeglobals exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

###################################################################
Phase 8 :
How can I force the overwrite of existing files?

User avatar
erikdubois
Captain
Posts: 4490
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [OPEN] Automatic "personal" command possible? (or at least its effect)

Post by erikdubois »

create a package for it
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Post Reply

Return to “BYOI ArcoLinuxB Plasma”