Skip to content

Commit e79f7ef

Browse files
committed
framework: if deleting /etc/resolv.conf and recreating it is used in rootfs-create, then do it the same way in create-cache
1 parent 3bef534 commit e79f7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions/rootfs/create-cache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function extract_rootfs_artifact() {
122122

123123
wait_for_disk_sync "after restoring rootfs cache"
124124

125-
run_host_command_logged rm -v "${SDCARD}"/etc/resolv.conf
125+
run_host_command_logged rm -fv "${SDCARD}"/etc/resolv.conf
126126
run_host_command_logged echo "nameserver ${NAMESERVER}" ">" "${SDCARD}"/etc/resolv.conf
127127

128128
# all sources etc.

0 commit comments

Comments
 (0)