From 2f3f3699b3d00a9eadce61cdff5115535533dd57 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 2 Aug 2023 18:35:11 +0200 Subject: [PATCH] add system update tools --- recipes-diya/initramfs/files/diya-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-diya/initramfs/files/diya-update b/recipes-diya/initramfs/files/diya-update index 6088046..2e77fd2 100755 --- a/recipes-diya/initramfs/files/diya-update +++ b/recipes-diya/initramfs/files/diya-update @@ -45,7 +45,7 @@ rootfs() return 1 fi echo "Installing new rootfs" - if ! tar --same-owner -xpvf "$path" -C $TMP_MOUNT; then + if ! tar -xpvf "$path" -C $TMP_MOUNT; then echo "Error: unable to install new rootfs. Restore and quit" umount $TMP_MOUNT dd if=$backup_file of=$ROOTFS_DEV