Skip to content

Commit 222f2d5

Browse files
committed
1 parent 053fd3f commit 222f2d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/modules/base/start_chroot_script

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if [ "${BASE_DISTRO}" == "ubuntu" ]; then
3737

3838
generate_resolvconf
3939

40-
apt-get update --allow-releaseinfo-change
40+
apt_update_skip
4141
apt-get install -y net-tools wireless-tools dhcpcd5
4242
if [ $( is_in_apt policykit-1 ) -eq 1 ]; then
4343
apt-get -y install policykit-1
@@ -159,7 +159,10 @@ fi
159159
if [ "$BASE_SSH_ENABLE" == "yes" ]
160160
then
161161
if [ "$BASE_DISTRO" == "debian" ]; then
162-
apt-get update --allow-releaseinfo-change
162+
if [ "$BASE_BOARD" == "debian_lepotato" ]; then
163+
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9165938D90FDDD2E
164+
fi
165+
apt_update_skip
163166
apt-get install -y openssh-server
164167
fi
165168
touch /"${BASE_BOOT_MOUNT_PATH}"/ssh

0 commit comments

Comments
 (0)