simple-cdd : myprofile.extra & myprofile.postinst

Help with issues regarding installation of Debian

simple-cdd : myprofile.extra & myprofile.postinst

Postby lateo » 2020-07-21 11:48

So i'm playing with simple-cdd.
Got a sweet ISO, fully automated install, lots of tools i like installed by default.

Good. But could be better : i am struggling with the "extras" part of this.

My custom profile contains a myprofile.extra file, listing additional files to include in the ISO : moar software (tar.gz), scripts, config files...
All of those happily find their ways to the ISO, ok.
But... i just can't find the way to copy those files to the newly installed system : tried to do so from myprofile.preseed late_command and also from myprofile.postinst with no luck.
Those would be much more useful on the system rather than the ISO...

I suppose i'm missing something basic but can't figure it out.
[edit] So the question is : how do you copy/install an "extra" or even arbitrary file from the ISO to the system you currently are installing ?
lateo
 
Posts: 2
Joined: 2020-07-21 11:28

Re: simple-cdd : myprofile.extra & myprofile.postinst

Postby lateo » 2020-07-27 11:17

first way to solve this :
from preseed late_command it's as easy as
cp -fa /cdrom/simple-cdd/myextra.file /target/path/to/stuff/myextra.file
lateo
 
Posts: 2
Joined: 2020-07-21 11:28


Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable