Proposal: pkg_files in chroot_setup.sh

Issue #16 resolved
Aaron Bartell created an issue

I would like to propose a change to chroot_setup.sh but wanted to make sure I am not missing something before I code it.

Currently the process of creating a chroot environment and subsequently adding packages is a manual process (i.e. after I run chroot_setup.sh I then have to chroot into environment and run pkg_setup.sh). It would be good if we could add a :pkg_files section to xxxx.lst files so we could, for example, run perzl_bash_4.3.lst from chroot_myversion.lst.

#Example File: chroot_myversion.lst

:pkg_files
pkg_perzl_bash-4.3.lst

Thoughts @rangercairns?

Comments (4)

  1. Former user Account Deleted

    Ok by me. -- but --- to be clear, we want both scripts to be able to run independently (not merged to one script), thereby people not doing chroot at all can still use any pkgxxx.lst in root file system.

  2. Aaron Bartell reporter

    we want both scripts to be able to run independently (not merged to one script),

    Agreed. I will work on this later this week (hopefully).

  3. Aaron Bartell reporter

    I just realized the :sh section can accomplish this....

    chroot_xxxxx.lst:

    :sh
    ./pkg_setup.sh pkg_gcc-4.6.2.lst
    

    ##I will retract this feature request.

  4. Log in to comment