Skip to content

Commit

Permalink
adjust command line for azure
Browse files Browse the repository at this point in the history
  • Loading branch information
jblomer committed Sep 30, 2015
1 parent 978faee commit f9ee2f7
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2.3-3:
* Use customized command line for Azure images
* Update cctools

2.3-2:
* Update cctools

2.3-1:
* Update cctools

2.3-0:
* Docker: update parrot for fix of #919
* Docker: look for x32 ELF interpreter
Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,16 @@ $(IMAGE_DIR)/$(IMAGE_NAME).vdi: $(IMAGE_DIR)/$(IMAGE_NAME).hdd
rm -f $(IMAGE_DIR)/$(IMAGE_NAME).hdd.working

$(IMAGE_DIR)/$(IMAGE_NAME).vhd: $(IMAGE_DIR)/$(IMAGE_NAME).hdd
rm -f $(IMAGE_DIR)/$(IMAGE_NAME).vhd $(IMAGE_DIR)/$(IMAGE_NAME)-working.vdi $(IMAGE_DIR)/$(IMAGE_NAME).hdd.workin
rm -f $(IMAGE_DIR)/$(IMAGE_NAME).vhd $(IMAGE_DIR)/$(IMAGE_NAME)-working.vdi $(IMAGE_DIR)/$(IMAGE_NAME).hdd.working tmp/azure/mountpoint
mkdir -p tmp/azure/mountpoint
cp $(IMAGE_DIR)/$(IMAGE_NAME).hdd $(IMAGE_DIR)/$(IMAGE_NAME).hdd.working
losetup -o 512 /dev/loop5 $(IMAGE_DIR)/$(IMAGE_NAME).hdd.working
mount /dev/loop5 tmp/azure/mountpoint
cat tmp/azure/mountpoint/isolinux/syslinux.cfg | sed s/console=tty0// | sed "s/lastarg/console=ttyS0 earlyprintk=ttyS0 rootdelay=300 numa=off/" > tmp/azure/mountpoint/isolinux/syslinux.cfg~
mv tmp/azure/mountpoint/isolinux/syslinux.cfg~ tmp/azure/mountpoint/isolinux/syslinux.cfg
cat tmp/azure/mountpoint/isolinux/syslinux.cfg
umount tmp/azure/mountpoint && rmdir tmp/azure/mountpoint
losetup -d /dev/loop5
while pgrep VBoxSVC > /dev/null; do true; done
VBoxManage convertfromraw $(IMAGE_DIR)/$(IMAGE_NAME).hdd.working $(IMAGE_DIR)/$(IMAGE_NAME)-working.vdi
while pgrep VBoxSVC > /dev/null; do true; done
Expand Down
12 changes: 6 additions & 6 deletions config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ DROPBEAR_UPSTREAM_VERSION = 2015.67
DROPBEAR_RELEASE = 1
PATCHELF_UPSTREAM_VERSION = 0.8
PATCHELF_RELEASE = 1
PARROT_UPSTREAM_VERSION = 5.2.0
PARROT_RELEASE = 2
PARROT_UPSTREAM_VERSION = 5.2.1
PARROT_RELEASE = 1
NTPCLIENT_UPSTREAM_VERSION = 2010
NTPCLIENT_RELEASE = 1
DHCLIENT_UPSTREAM_VERSION = 4.3.1
Expand All @@ -30,10 +30,10 @@ EXTRAS_VERSION = 1.0
CERNVM_INCREASE_RELEASE = 0

CERNVM_SYSTEM = HEAD
#CERNVM_BRANCHES = devel
#IMAGE_FORMATS = iso ova
CERNVM_BRANCHES = testing devel prod slc4 slc5 sl7
IMAGE_FORMATS = iso hdd fat vdi vhd vmdk tar.gz ova box
CERNVM_BRANCHES = prod
IMAGE_FORMATS = vhd
#CERNVM_BRANCHES = testing devel prod slc4 slc5 sl7
#IMAGE_FORMATS = iso hdd fat vdi vhd vmdk tar.gz ova box

SIGNING_SERVER = cvm-sign01.cern.ch
SINGING_URL = https://$(SIGNING_SERVER)/cgi-bin/cernvm/sign-image
Expand Down
2 changes: 1 addition & 1 deletion packages.d/parrot/config.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PARROT_GIT = https://github.com/cooperative-computing-lab/cctools.git
PARROT_TREEISH = 3de4f819ad
PARROT_TREEISH = 9b6a0d012ad
PARROT_SOURCETREE = parrot-$(PARROT_TREEISH)

LIBCVMFS_GIT = https://github.com/cvmfs/cvmfs.git
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0
3

0 comments on commit f9ee2f7

Please sign in to comment.