Hello Arszilla,

As you've already seen, I've prepared a MR to fix at least the issue with Nessus, https://salsa.debian.org/live-team/live-build/-/merge_requests/407.

After the MR is merged, at least the Nessus package can now be cleanly installed, without using a 'chroot_hooks' step. The 'chroot_hooks' step happens too late, so any package installed at that time will be marked for deletion after installation.

Recently I've been looking at the way non-Debian-native packages can be included in the live image and I remembered something with Nessus.
(https://salsa.debian.org/live-team/live-manual/-/merge_requests/39/diffs?commit_id=25088f086f818045f821038e099576e284e1c9d6)

Some of the other packages that are mentioned here are a stub that add additional sources.list entries. I've been thinking to add a pseudo-entry for the package list in 'config/package-lists/my_file.list.chroot': '@UPDATE_APT_NOW@', after which the remainder of the file will be parsed.

I didn't do an experiment yet, but I was thinking about the following:
* Place a .deb in config/packages.chroot that adds an additional sources.list entry * Create a 'config/package-lists/my_file.list.chroot' with the content '@UPDATE_APT_NOW@ my_desired_package_from_the_new_source'

Then the packages will be properly installed and be available after installation as well.

Packages the need to be present in the live environment, but not after installation can be mentioned in 'config/package-lists/my_remove_after_installation.list.chroot_live' (this feature has been available for a long time)

With kind regards,
Roland Clobus





Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to