diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-27 23:44:03 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-27 23:44:13 -0600 |
commit | d3edb850913a1c0beafa427661ac996f76a47589 (patch) | |
tree | 040f017280c1c1ab1427c1b4ecf9d2b935a9ae99 /package | |
parent | e4b7cb8506c7540ba2e2ab6d974cbe7fb7b1ab6d (diff) |
partprobe required to let the kernel recognize the partition table
Diffstat (limited to 'package')
-rw-r--r-- | package/adkinstall/src/adkinstall | 3 | ||||
-rw-r--r-- | package/parted/Makefile | 3 |
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 |