Skip to content
Snippets Groups Projects
Verified Commit 3df2ccbc authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

rescue-image: Make sure newly created partition has a device

parent e35739ce
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rescue-image
PKG_VERSION:=3.0
PKG_RELEASE:=1
PKG_RELEASE:=2
BB_VERSION:=1.30.1
PKG_SOURCE:=busybox-$(BB_VERSION).tar.bz2
PKG_SOURCE_URL:=https://www.busybox.net/downloads \
......
......@@ -156,7 +156,8 @@ $PART_NO
p
w
EOF
[ $? -eq 0 ] || die 3 "Partitioning drive failed"
[ $? -eq 0 ] || die 3 "Partitioning drive failed"
mdev -s
fi
fdisk -l "$TARGET_DRIVE" >> /tmp/debug.txt
echo "Formatting the drive..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment