summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-06-06 15:59:23 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-06-06 15:59:23 +0000
commitc0cb5757c4e97a13eb6ab4b30d0cf007bd6dfbed (patch)
tree857e3d8516b1ef5ff050d7d8d7ce3089a06b04c9
parentEhh, we didn't copy our tarballs over via the ebuild. Let's do that, now. (diff)
downloadwolf31o2-c0cb5757c4e97a13eb6ab4b30d0cf007bd6dfbed.tar.gz
wolf31o2-c0cb5757c4e97a13eb6ab4b30d0cf007bd6dfbed.tar.bz2
wolf31o2-c0cb5757c4e97a13eb6ab4b30d0cf007bd6dfbed.zip
We need to mkdir first and perform error handling.
svn path=/; revision=201
-rw-r--r--sys-kernel/genkernel/Manifest2
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.10.ebuild3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
index 3def036..c681337 100644
--- a/sys-kernel/genkernel/Manifest
+++ b/sys-kernel/genkernel/Manifest
@@ -5,4 +5,4 @@ DIST device-mapper.1.02.22.tgz 189726 RMD160 8bf9986536c49f53c398d6a2180e21e1235
DIST dmraid-1.0.0.rc14.tar.bz2 164234 RMD160 9cd238a981cfef9c5c1f2f1d6466b70c95ec9c7c SHA1 2b3284db46a995967d88993ae5ae36b57c513bc4 SHA256 a777354d6d69a9b58d84966cc7b37bc3f5c89539f885ad25fd874ed1c388fbec
DIST e2fsprogs-1.39.tar.gz 3695111 RMD160 67e77a7cbf0e719fa8b5a8ac6285b334e1c3481b SHA1 c2dad0c9bd76701eafe3804e2a7d072aa198f046 SHA256 dc2033447e69a1612881151f6f163e8a3b80e51d16f5e8b3576f3f8ccb325ea3
DIST genkernel-3.4.10.tar.bz2 210822 RMD160 19327712c7140336db08a466a19f164df11eac7a SHA1 a672b1b81c6b607533f2576f4bf3adaf620f9f54 SHA256 43e7ae3495e5f8e4ead919b059444bfa393bf83d36c14390206892f82ad37685
-EBUILD genkernel-3.4.10.ebuild 4153 RMD160 78f5c4ace21d54a3f65699dcf55413104f09100e SHA1 b5655633742e3585ad01f0aed9b234506b83401f SHA256 4e9cf647a8b74f9246353f936b51fddfa138cbebc89d90f581b8c32f2ab20406
+EBUILD genkernel-3.4.10.ebuild 4224 RMD160 97ff1ad6fa2d545b3af82011f69c6a47b22fb915 SHA1 86e4d1e2a037e42967f4ac4e734d30d91445ac41 SHA256 49073479206c8ce86456fa5a69367d9c94e5cb4e9d0b489d5f41e3fe5a29d13a
diff --git a/sys-kernel/genkernel/genkernel-3.4.10.ebuild b/sys-kernel/genkernel/genkernel-3.4.10.ebuild
index 136ece6..1c62d76 100644
--- a/sys-kernel/genkernel/genkernel-3.4.10.ebuild
+++ b/sys-kernel/genkernel/genkernel-3.4.10.ebuild
@@ -92,13 +92,14 @@ src_install() {
# Copy files to /var/cache/genkernel/src
elog "Copying files to /var/cache/genkernel/src..."
+ mkdir -p "${D}"/var/cache/genkernel/src
cp -f \
"${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \
"${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \
"${DISTDIR}"/device-mapper.${VERSION_DMAP}.tgz \
"${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \
"${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \
- "${D}"/var/cache/genkernel/src
+ "${D}"/var/cache/genkernel/src || die "Copying distfiles..."
dobashcompletion "${FILESDIR}"/genkernel.bash
}