[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Passing extra environment variables to lb chroot_install



Hi,

I want all instances of apt in the chroot during lb build, to have few extra
environment variables, for example:

export NEEDRESTART_SUSPEND=1
export APT_LISTCHANGES_FRONTEND=none

I am not sure how to do that, without modifying the lb itself.

Similarly, I might want to pass some environment variables to the custom
hooks in the chroot. For the hooks, I could create custom file with
exports / variables and source it in the chroot hooks,
but it will not work for the lb chroot.

Regards,
Witold


Reply to: