mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
fix(make_chroot): don't remove files that dont' exist
These files don't exist in the gentoo stage3, don't try and remove them. Change-Id: Ie158b4989540482751cbb4de0ee8ef88e4f49759
This commit is contained in:
parent
c91cefb941
commit
472ab7b202
@ -197,10 +197,8 @@ init_setup () {
|
||||
# and a pointer to pre-built packages.
|
||||
# TODO: This should really be part of a profile in the portage.
|
||||
info "Setting up /etc/make.*..."
|
||||
mv "${FLAGS_chroot}"/etc/make.conf{,.orig}
|
||||
ln -sf "${CHROOT_CONFIG}/make.conf.amd64-host" \
|
||||
"${FLAGS_chroot}/etc/make.conf"
|
||||
mv "${FLAGS_chroot}"/etc/make.profile{,.orig}
|
||||
ln -sf "${CHROOT_OVERLAY}/profiles/default/linux/amd64/10.0" \
|
||||
"${FLAGS_chroot}/etc/make.profile"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user