* [Buildroot] [PATCH] Update version of device-mapper, add alternate location
@ 2006-11-29 4:29 Pavel Roskin
2006-11-29 10:30 ` Bernhard Fischer
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2006-11-29 4:29 UTC (permalink / raw)
To: buildroot
Old versions of device-mapper are moved to the "old" directory. Since
new versions are released very often, tracking them would require
frequent changes.
To avoid the breakage, look in the "old" directory if the package is not
found.
Index: package/dm/dm.mk
===================================================================
--- package/dm/dm.mk (revision 16710)
+++ package/dm/dm.mk (working copy)
@@ -24,10 +24,11 @@
# USA
DM_BASEVER=1.02
-DM_PATCH=12
+DM_PATCH=13
DM_VERSION=$(DM_BASEVER).$(DM_PATCH)
DM_SOURCE:=device-mapper.$(DM_VERSION).tgz
DM_SITE:=ftp://sources.redhat.com/pub/dm
+DM_SITE_OLD:=ftp://sources.redhat.com/pub/dm/old
DM_CAT:=$(ZCAT)
DM_DIR:=$(BUILD_DIR)/device-mapper.$(DM_VERSION)
DM_STAGING_BINARY:=$(STAGING_DIR)/sbin/dmsetup
@@ -36,7 +37,8 @@
DM_TARGET_LIBRARY:=$(TARGET_DIR)/usr/lib/libdevmapper.so
$(DL_DIR)/$(DM_SOURCE):
- $(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE)
+ $(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE) || \
+ $(WGET) -P $(DL_DIR) $(DM_SITE_OLD)/$(DM_SOURCE)
$(DM_DIR)/.unpacked: $(DL_DIR)/$(DM_SOURCE)
$(DM_CAT) $(DL_DIR)/$(DM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] Update version of device-mapper, add alternate location
2006-11-29 4:29 [Buildroot] [PATCH] Update version of device-mapper, add alternate location Pavel Roskin
@ 2006-11-29 10:30 ` Bernhard Fischer
0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2006-11-29 10:30 UTC (permalink / raw)
To: buildroot
On Tue, Nov 28, 2006 at 11:29:21PM -0500, Pavel Roskin wrote:
>Old versions of device-mapper are moved to the "old" directory. Since
>new versions are released very often, tracking them would require
>frequent changes.
>
>To avoid the breakage, look in the "old" directory if the package is not
>found.
I don't like the idea of silently using an old version, but then, i
don't use dm myself.
Merged as r16713, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-29 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 4:29 [Buildroot] [PATCH] Update version of device-mapper, add alternate location Pavel Roskin
2006-11-29 10:30 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox