public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler (polynomial-c)" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh
Date: Sat, 22 Dec 2012 12:24:43 +0000 (UTC)	[thread overview]
Message-ID: <20121222122443.C94642171D@flycatcher.gentoo.org> (raw)

polynomial-c    12/12/22 12:24:43

  Added:                create_vbox_modules_tarball.sh
  Log:
  Version bump. Removed old
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

Revision  Changes    Path
1.1                  app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/files/create_vbox_modules_tarball.sh?rev=1.1&content-type=text/plain

Index: create_vbox_modules_tarball.sh
===================================================================
#!/bin/bash

# Create a virtualbox modules tarball from a VirtualBox binary package.
# We cannot download the package by this script because of the unpredictable 
# build number being in the filename.
# 
# usage: create_vbox_modules_tarball.sh VirtualBox-4.1.18-78361-Linux_amd64.run

[ -f "$1" ] || exit 1

VBOX_PACKAGE="$1"

VBOX_VER="$(echo ${VBOX_PACKAGE} | sed 's@.*VirtualBox-\([[:digit:]\.]\+\).*@\1@')"

sh ${VBOX_PACKAGE} --noexec --keep --nox11 || exit 2
cd install || exit 3
tar -xaf VirtualBox.tar.bz2 || exit 4
cd src/vboxhost || exit 5
tar -cvJf ../../../vbox-kernel-module-src-${VBOX_VER}.tar.xz . || exit 6
cd ../../.. && rm install -rf

exit 0





             reply	other threads:[~2012-12-22 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-22 12:24 Lars Wendler (polynomial-c) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-11  7:07 [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules/files: create_vbox_modules_tarball.sh Lars Wendler (polynomial-c)
2013-12-31 17:21 Tom Wijsman (tomwij)
2014-01-03 11:38 Lars Wendler (polynomial-c)

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=20121222122443.C94642171D@flycatcher.gentoo.org \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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