From: Pavel Roskin <proski@gnu.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Update version of device-mapper, add alternate location
Date: Tue, 28 Nov 2006 23:29:21 -0500 [thread overview]
Message-ID: <1164774561.4016.87.camel@dv> (raw)
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
next reply other threads:[~2006-11-29 4:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-29 4:29 Pavel Roskin [this message]
2006-11-29 10:30 ` [Buildroot] [PATCH] Update version of device-mapper, add alternate location Bernhard Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164774561.4016.87.camel@dv \
--to=proski@gnu.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox