diff options
author | root <root@rshg054.dnsready.net> | 2012-10-03 01:32:13 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-03 01:32:13 -0700 |
commit | 1350233b6dc1924ba29a42462447995f26dae0dc (patch) | |
tree | 5dfb3384023621f023e449f02df1f035a9b45170 /community-testing/virtualbox-modules/build.sh | |
parent | 941550cbc215d608bd18439f99500b74fbb80f0d (diff) |
Wed Oct 3 01:31:01 PDT 2012
Diffstat (limited to 'community-testing/virtualbox-modules/build.sh')
-rwxr-xr-x | community-testing/virtualbox-modules/build.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community-testing/virtualbox-modules/build.sh b/community-testing/virtualbox-modules/build.sh new file mode 100755 index 000000000..828448cab --- /dev/null +++ b/community-testing/virtualbox-modules/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +if (( $# != 1 )); then + echo "usage: $0 extra" + echo " $0 testing" + exit 1 +fi + +$1-i686-build +linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686 +linux32 makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-i686.pkg.tar.xz -r /var/lib/archbuild/$1-i686 +linux32 makechrootpkg -r /var/lib/archbuild/$1-i686 + +$1-x86_64-build +makechrootpkg -I ../../virtualbox/trunk/virtualbox-host-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 +makechrootpkg -I ../../virtualbox/trunk/virtualbox-guest-source-*-x86_64.pkg.tar.xz -r /var/lib/archbuild/$1-x86_64 +makechrootpkg -r /var/lib/archbuild/$1-x86_64 + + +# vim:set ts=2 sw=2 ft=sh et: |