Preserve changed apt settings (pdiffs, recommends, and secure) in binary image (Closes: #494640).
This commit is contained in:
parent
bdc4ff6457
commit
5a5ee8d152
|
@ -162,16 +162,25 @@ case "${1}" in
|
||||||
rm -f chroot/etc/apt/apt.conf.d/00http-proxy
|
rm -f chroot/etc/apt/apt.conf.d/00http-proxy
|
||||||
|
|
||||||
# Deconfiguring aptitude pdiffs
|
# Deconfiguring aptitude pdiffs
|
||||||
rm -f chroot/etc/apt/apt.conf.d/00pdiffs
|
if [ "${LH_APT_PDIFFS}" = "enabled" ]
|
||||||
|
then
|
||||||
|
rm -f chroot/etc/apt/apt.conf.d/00pdiffs
|
||||||
|
fi
|
||||||
|
|
||||||
# Deconfiguring aptitude pipeline
|
# Deconfiguring aptitude pipeline
|
||||||
rm -f chroot/etc/apt/apt.conf.d/00pipeline
|
rm -f chroot/etc/apt/apt.conf.d/00pipeline
|
||||||
|
|
||||||
# Deconfiguring aptitude recommends
|
# Deconfiguring aptitude recommends
|
||||||
rm -f chroot/etc/apt/apt.conf.d/00recommends
|
if [ "${LH_APT_RECOMMENDS}" = "enabled" ]
|
||||||
|
then
|
||||||
|
rm -f chroot/etc/apt/apt.conf.d/00recommends
|
||||||
|
fi
|
||||||
|
|
||||||
# Deconfiguring aptitude secure
|
# Deconfiguring aptitude secure
|
||||||
rm -f chroot/etc/apt/apt.conf.d/00secure
|
if [ "${LH_APT_SECURE}" = "enabled" ]
|
||||||
|
then
|
||||||
|
rm -f chroot/etc/apt/apt.conf.d/00secure
|
||||||
|
fi
|
||||||
|
|
||||||
# Deconfiguring apt preferences
|
# Deconfiguring apt preferences
|
||||||
if [ -f chroot/etc/apt/preferences.orig ]
|
if [ -f chroot/etc/apt/preferences.orig ]
|
||||||
|
|
Loading…
Reference in New Issue