summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/adkinstall/src/adkinstall3
-rw-r--r--package/parted/Makefile3
2 files changed, 5 insertions, 1 deletions
diff --git a/package/adkinstall/src/adkinstall b/package/adkinstall/src/adkinstall
index 6047ce503..8ddd8a367 100644
--- a/package/adkinstall/src/adkinstall
+++ b/package/adkinstall/src/adkinstall
@@ -236,6 +236,7 @@ case $target {
create_partition /dev/sda ext2 $(($rootsize+1)) $(($maxsize-1))
set_boot_flag /dev/sda 1
change_part_type /dev/sda 2 88
+ partprobe /dev/sda
create_filesystem /dev/sda $fs 1
mdev -s
mount_fs /dev/sda 1 $fs /mnt
@@ -251,6 +252,7 @@ case $target {
create_partition /dev/sda ext2 $(($rootsize+1)) $(($maxsize-1))
set_boot_flag /dev/sda 1
change_part_type /dev/sda 2 88
+ partprobe /dev/sda
create_filesystem /dev/sda $fs 1
mdev -s
mount_fs /dev/sda 1 $fs /mnt
@@ -269,6 +271,7 @@ case $target {
set_boot_flag /dev/sda 1
change_part_type /dev/sda 1 27
change_part_type /dev/sda 3 88
+ partprobe /dev/sda
create_filesystem /dev/sda $fs 2
mdev -s
mount_fs /dev/sda 2 $fs /mnt
diff --git a/package/parted/Makefile b/package/parted/Makefile
index 1087ec9b5..719c4c729 100644
--- a/package/parted/Makefile
+++ b/package/parted/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= parted
PKG_VERSION:= 3.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= 858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
PKG_DESCR:= partition table editor
PKG_SECTION:= sys/fs
@@ -39,5 +39,6 @@ ifneq ($(ADK_TARGET_USE_STATIC_LIBS),y)
endif
$(INSTALL_DIR) $(IDIR_PARTED)/usr/sbin
$(INSTALL_BIN) $(WRKINST)/usr/sbin/parted $(IDIR_PARTED)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/partprobe $(IDIR_PARTED)/usr/sbin
include $(ADK_TOPDIR)/mk/pkg-bottom.mk