On Tue, Mar 6, 2012 at 4:39 PM, Clark Rawlins <[email protected]> wrote:
> I haven't heard much from anyone.
> Are there any comments, any pointers on what I need to fix?
>
> Clark
>

just be patient, me or someone else will get to it....

>
> On Sun, 2012-03-04 at 17:43 -0500, Clark Rawlins wrote:
>
> This is a brown paper bag update of my previous patch.
>
> =====================================================
> Include the parted disc partitioning utility
>
> As disc drives can exceed 2TB in size the MSDOS
> partition table is not able to partition the entire
> drive.  Adding the parted utility to openwrt makes it
> possible to manipulate the partition tables of EFI/GUID
> on a openwrt device.
>
> To use a EFI/GUID partition it is necessary to have
> support in the kernel for this partition type. So
> configuration options are available to enable EFI
> support.
>
> Signed-of-by: Clark Rawlins <[email protected]>
>
>
> Index: package/parted/Config.in
> ===================================================================
> --- package/parted/Config.in  (revision 0)
> +++ package/parted/Config.in  (revision 0)
> @@ -0,0 +1,45 @@
> +config KERNEL_AMIGA_PARTITION
> +     bool "Amiga partition table support"
> +     default n
> +
> +config KERNEL_MAC_PARTITION
> +     bool "Macintosh partition map support"
> +     default n
> +     help
> +          Say Y here if you would like to use hard disks under Linux
> which
> +       were partitioned on a Macintosh.
> +
> +config KERNEL_MSDOS_PARTITION
> +     bool "PC BIOS (MSDOS partition tables) support"
> +     default n
> +
> +config KERNEL_BSD_DISKLABEL
> +     depends KERNEL_MSDOS_PARTITION
> +     bool "BSD disklabel (FreeBSD partition tables) support"
> +     default n
> +     help
> +       FreeBSD uses its own hard disk partition scheme on your PC. It
> +       requires only one entry in the primary partition table of your disk
> +       and manages it similarly to DOS extended partitions, putting in its
> +       first sector a new partition table in BSD disklabel format. Saying Y
> +       here allows you to read these disklabels and further mount FreeBSD
> +       partitions from within Linux if you have also said Y to "UFS
> +       file system support", above. If you don't know what all this is
> +       about, say N.
> +
> +config KERNEL_SOLARIS_X86_PARTITION
> +     depends KERNEL_MSDOS_PARTITION
> +     bool "Solaris (x86) partition table support"
> +     default n
> +     help
> +       Like most systems, Solaris x86 uses its own hard disk partition
> +       table format, incompatible with all others. Saying Y here allows you
> +       to read these partition tables and further mount Solaris x86
> +       partitions from within Linux if you have also said Y to "UFS
> +       file system support", above.
> +
> +config KERNEL_EFI_PARTITION
> +     bool "Enable EFI Partition parsing support in the kernel"
> +        default n
> +
> +
> Index: package/parted/Makefile
> ===================================================================
> --- package/parted/Makefile   (revision 0)
> +++ package/parted/Makefile   (revision 0)
> @@ -0,0 +1,58 @@
> +#
> +# Copyright (C) 2012 OpenWrt.org
> +#
> +# This is free software, licensed under the GNU General Public License
> v2.
> +# See /LICENSE for more information.
> +#
> +include $(TOPDIR)/rules.mk
> +
> +PKG_NAME:=parted
> +PKG_VERSION:=2.4
> +PKG_RELEASE:=1
> +
> +PKG_BUILD_DIR:=$(BUILD_DIR)/parted-$(PKG_VERSION)
> +PKG_SOURCE:=parted-$(PKG_VERSION).tar.gz
> +PKG_SOURCE_URL:=@GNU/parted
> +PKG_MD5SUM:=76a6457ea88447d79d50ca331069b19c
> +PKG_CAT:=zcat
> +
> +include $(INCLUDE_DIR)/package.mk
> +
> +define Package/parted
> +     SECTION:=utils
> +     CATEGORY:=Utilities
> +     SUBMENU:=disc
> +     DEFAULT:=n
> +     TITLE:=GNU Parted manipulates partition tables
> +     URL:=http://www.gnu.org/software/parted/
> +     DEPENDS:= +libuuid +libreadline +libncurses +libdevmapper
> +endef
> +
> +define Package/parted/description
> +     GNU Parted manipulates partition tables. This is useful for creating
> +     space for new operating systems, reorganizing disk usage, copying
> data
> +     on hard disks and disk imaging. The package contains a library,
> +     libparted, as well as well as a command-line frontend, parted,
> +     which can also be used in scripts.
> +endef
> +
> +define Package/parted/config
> +     source "$(SOURCE)/Config.in"
> +endef
> +
> +define Build/Configure
> +     $(call Build/Configure/Default, \
> +                --enable-static \
> +        )
> +endef
> +
> +define Package/parted/install
> +     $(INSTALL_DIR) $(1)/usr/lib
> +     $(INSTALL_BIN) $(PKG_BUILD_DIR)/libparted/.libs/libparted.so.0
> $(1)/usr/lib
> +     $(INSTALL_BIN) $(PKG_BUILD_DIR)/libparted/.libs/libparted.so.0
> $(1)/usr/lib
> +     $(INSTALL_BIN) $(PKG_BUILD_DIR)/libparted/.libs/libparted.so.0.0.2
> $(1)/usr/lib
> +     $(INSTALL_DIR) $(1)/usr/sbin
> +     $(INSTALL_BIN) $(PKG_BUILD_DIR)/parted/.libs/parted $(1)/usr/sbin/
> +endef
> +
> +$(eval $(call BuildPackage,parted))
>
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to