[Buildroot] [PATCH v2] Update gdisk (gptfdisk) to version 0.8.5.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jun 14 07:04:08 UTC 2012


Le Thu, 14 Jun 2012 01:16:51 +0200,
Arnout Vandecappelle <arnout at mind.be> a écrit :

> > -GDISK_VERSION = 0.6.14
> > +GDISK_VERSION = 0.8.5
> >   GDISK_SITE =
> > http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gptfdisk
> > -GDISK_SOURCE = gdisk-$(GDISK_VERSION).tgz +GDISK_SOURCE =
> > gptfdisk-$(GDISK_VERSION).tar.gz
> >
> >   GDISK_TARGETS_$(BR2_PACKAGE_GDISK_GDISK) += gdisk
> >   GDISK_TARGETS_$(BR2_PACKAGE_GDISK_SGDISK) += sgdisk
> 
>   Since the upstream name has changed, I would change the buildroot
> package name as well.  Again, it's a bit more work though.  Also it
> would make existing config files that select gdisk invalid - I'm not
> sure if Peter allows that.

You can rename the package, and do something like:

config BR2_PACKAGE_NEW_NAME
	bool "new-name"
	help
	  Blabla

# This is a transitional option kept for compatibility 
# reasons with the old name of this package. It can be removed
# in 2013.05
config BR2_PACKAGE_OLD_NAME
	bool
	select BR2_PACKAGE_NEW_NAME

So that existing configurations continue to work for one year.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list