diff options
| -rw-r--r-- | meta/recipes-core/images/build-appliance-image_14.0.0.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/images/build-appliance-image_14.0.0.bb b/meta/recipes-core/images/build-appliance-image_14.0.0.bb index eeb301df57..07bd14506e 100644 --- a/meta/recipes-core/images/build-appliance-image_14.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_14.0.0.bb | |||
| @@ -21,7 +21,7 @@ IMAGE_FSTYPES = "vmdk" | |||
| 21 | 21 | ||
| 22 | inherit core-image module-base | 22 | inherit core-image module-base |
| 23 | 23 | ||
| 24 | SRCREV ?= "00c4c9bf0007b964dfa4559fe8fc8687f14cdec3" | 24 | SRCREV ?= "5c8124df2efed4b8691239cd357cf69211b0c844" |
| 25 | SRC_URI = "git://git.yoctoproject.org/poky \ | 25 | SRC_URI = "git://git.yoctoproject.org/poky \ |
| 26 | file://Yocto_Build_Appliance.vmx \ | 26 | file://Yocto_Build_Appliance.vmx \ |
| 27 | file://Yocto_Build_Appliance.vmxf \ | 27 | file://Yocto_Build_Appliance.vmxf \ |
| @@ -80,9 +80,13 @@ fakeroot do_populate_poky_src () { | |||
| 80 | # Assume we will need CDROM to install guest additions | 80 | # Assume we will need CDROM to install guest additions |
| 81 | mkdir -p ${IMAGE_ROOTFS}/media/cdrom | 81 | mkdir -p ${IMAGE_ROOTFS}/media/cdrom |
| 82 | 82 | ||
| 83 | # Allow builder to use sudo to setup tap/tun | 83 | # Allow builder to use sudo |
| 84 | echo "builder ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers | 84 | echo "builder ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers |
| 85 | 85 | ||
| 86 | # Load tap/tun at startup | ||
| 87 | ln -sr ${IMAGE_ROOTFS}/usr/sbin/iptables ${IMAGE_ROOTFS}/sbin/iptables | ||
| 88 | echo "tun" >> ${IMAGE_ROOTFS}/etc/modules | ||
| 89 | |||
| 86 | # Use Clearlooks GTK+ theme | 90 | # Use Clearlooks GTK+ theme |
| 87 | mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 | 91 | mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 |
| 88 | echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc | 92 | echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc |
