summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2015-08-04 10:37:54 +0300
committerRiku Voipio <riku.voipio@linaro.org>2015-08-04 10:37:54 +0300
commite8ef9dcd93f20d9c0f69fb24a9f56a5da5369e43 (patch)
tree2a9182f1916a30ac287343255b8fa1b44f1382b0
parentf7350ead9da1a001ba2e32021408e2878b6ba061 (diff)
downloadxen-ci-e8ef9dcd93f20d9c0f69fb24a9f56a5da5369e43.tar.gz
hack resolv.conf
-rwxr-xr-xmakelavaimg1
-rwxr-xr-xmakelavanfs1
2 files changed, 2 insertions, 0 deletions
diff --git a/makelavaimg b/makelavaimg
index 2c8d754..2758657 100755
--- a/makelavaimg
+++ b/makelavaimg
@@ -157,6 +157,7 @@ sudo cp xen-armhf $BOOTMOUNT/xen
sudo cp ${FILES}/files/hvc0.conf ${MOUNT}/etc/init/
sudo cp ${FILES}/files/linaro-repo.list ${MOUNT}/etc/apt/sources.list.d/
sudo dpkg-deb --extract xen-armhf.deb $MOUNT
+sudo touch ${MOUNT}/etc/resolv.conf
sudo umount $MOUNT
sudo umount $BOOTMOUNT
diff --git a/makelavanfs b/makelavanfs
index 305384b..14e81dd 100755
--- a/makelavanfs
+++ b/makelavanfs
@@ -48,6 +48,7 @@ sudo tar xaf ${ROOTFS_BUILD_FILENAME}
#add hvc0 init file and xen tools package to the rootfs image
sudo cp ${FILES}/files/hvc0.conf ${MOUNT}/etc/init/
sudo dpkg-deb --vextract xen-arm64.deb $MOUNT
+sudo touch ${MOUNT}/etc/resolv.conf
sudo tar cf $image binary/
sudo chown $USER:$USER $image