Comments (6)
Hi @dangoncalves , in case it hasn't already occurred to you, another approach would be to host the debian packages in a PPA or debian repository rather than manually installing them on the target image. In this way, you'll be able to provide updates to those packages in the future. The steps are to add the repo to the live host apt configuration and then use apt to install the packages. Here is an example: https://github.com/regolith-linux/regolith-ubuntu-iso-builder/blob/master/scripts/config-focal_standard.sh#L66
from live-custom-ubuntu-from-scratch.
Do you need to copy files only to the root of the chroot environment?
from live-custom-ubuntu-from-scratch.
I need to copy them anywhere in the chroot environment and then I can process them inside the customize_image function. In my case, it's a deb package that I need to install to the image.
from live-custom-ubuntu-from-scratch.
Is your feature request related to a problem? Please describe.
To build my live iso, I need to copy some files to the chroot environment. Currently we can't do that with the script.Describe the solution you'd like
It could be useful if all files inside a specific directory where copied to the chroot environment.Describe alternatives you've considered
Maintaining a list with the files to copy can be considered but will be less useful.Additional context
I'm willing to work on this contribution.
Hi @dangoncalves,
Please go ahead, with your contribution.
Thanks for all,
from live-custom-ubuntu-from-scratch.
Hi @kgilmer & @dangoncalves , I often copy files to the chroot during & after the build script process.
Method 1: build.sh -
After the [run_chroot] process, the script will usually pause waiting for sudo password before running [build_iso]. At this point you can copy files to the chroot. Note copying requires sudo privileges.
Method 2: build-sh build_iso
After first run of build.sh -, copy files to existing chroot (sudo required), then run build.sh build_iso.
Or build.sh run_chroot
after copying files will allow you to use your config.sh to install your copied files, followed by build-sh build_iso
to regenerate the iso.
In the case of installing an offline .deb I copy the deb as above and use a preseed to install it during install.
ubiquity ubiquity/success_command string \
in-target dpkg -i /etc/skel/Downloads/nxwitness-client*.deb;
I have a modified [build_iso] function to include generating a preseed.
I hope I have helped & understood what you are trying to achieve.
from live-custom-ubuntu-from-scratch.
Hi,
I opened this PR to reflect what I exepected.
While the workaround provided by @asharrem works, feel free to close the PR if you think it's irrelevant.
from live-custom-ubuntu-from-scratch.
Related Issues (20)
- Conflicting licensing statements HOT 1
- Could this be used to create a bootable docker host/node live system? HOT 2
- When I run the script for create the iso .It give some erre HOT 1
- Ubuntu 21.10 and 22.04(RC) Desktop Live (Ubuntu default) not using isolinux anymore HOT 1
- Just a question
- Activate sshd service + add default PW for root
- Packages seem unavailable on Jammy HOT 3
- Update xorriso paramters for 22.04 HOT 5
- set -e # exit on error during chroot processes leaves host OS disfunctional HOT 2
- This is more of a question then an issue but is there a way to make an ISO with this method that is strictly based on Debian?
- Support creating secure-boot enabled images
- Ubuntu Server Dcoumentation HOT 1
- After initiale build
- Stuck problem when iso booting HOT 2
- Support installing on both UEFI and BIOS systems HOT 1
- problem after create iso
- Secure Boot and Nvidia Drivers Installations
- [Request] Please Make Tutorial Custom Ubuntu Server HOT 3
- Persistant Storage for the USB Device using this manual
- Anyone know if this guide still works for noble? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live-custom-ubuntu-from-scratch.