[yocto] Issues in getting wiringpi and openvpn through Yocto built image

Khem Raj raj.khem at gmail.com
Thu Jul 12 23:08:14 PDT 2018


On Thu, Jul 12, 2018 at 10:09 PM AKASH BHARDWAJ
<akash12bhardwaj at gmail.com> wrote:
>
> I was actually trying to install wiringpi,wiringpi-dev and openvpn on Yocto.
>
>
> I used the  command
>
>> IMAGE_INSTALL_APPEND = " git apt dpkg opkg rpm sudo wiringpi wiringpi-dev cmake connman connman-client tzdata i2c-tools i2c-tools-dev glibc-utils rpm dhcp-server bluez5 python-smbus bridge-utils hostapd apache2 openvpn"
>> IMAGE_INSTALL_APPEND = " nano openvpn networkmanager iptables"

it should be IMAGE_INSTALL_append

>
>
> The openvpn file is present in  the /tmp/deploy/rpm directory .But when I transferred the Image to sd card for Raspberrypi,then i find out that wiringpi and openvpn file are not present anywhere on the SD card.
> So,how can I resolve this issue?
>
>
> The contents of local.conf are
>
>
>
>
>
>
>
>> DISTRO ?= "poky"
>> DISTRO_FEATURES_append += " virtualization"
>>
>>
>>
>> PACKAGE_CLASSES ?= "package_rpm"
>>
>>
>>
>>
>> EXTRA_IMAGE_FEATURES ?= "debug-tweaks dbg-pkgs dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile"
>>
>>
>>
>> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
>>
>>
>>
>> PATCHRESOLVE = "noop"
>>
>>
>> BB_DISKMON_DIRS ??= "\
>>     STOPTASKS,${TMPDIR},1G,100K \
>>     STOPTASKS,${DL_DIR},1G,100K \
>>     STOPTASKS,${SSTATE_DIR},1G,100K \
>>     STOPTASKS,/tmp,100M,100K \
>>     ABORT,${TMPDIR},100M,1K \
>>     ABORT,${DL_DIR},100M,1K \
>>     ABORT,${SSTATE_DIR},100M,1K \
>>     ABORT,/tmp,10M,1K"
>>
>>
>>
>>
>>
>> PACKAGECONFIG_append_pn-qemu-native = " sdl"
>> PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
>> #ASSUME_PROVIDED += "libsdl-native"
>>
>>
>> CONF_VERSION = "1"
>> MACHINE = "raspberrypi3"
>> PREFERRED_VERSION_linux-raspberrypi = "4.%"
>> DISTRO_FEATURES_remove = "x11 wayland"
>> DISTRO_FEATURES_append = " systemd"
>> VIRTUAL-RUNTIME_init_manager = "systemd"
>> IMAGE_INSTALL_APPEND = " git apt dpkg opkg rpm sudo wiringpi wiringpi-dev cmake connman connman-client tzdata i2c-tools i2c-tools-dev glibc-utils rpm dhcp-server bluez5 python-smbus bridge-utils hostapd apache2 openvpn"
>> IMAGE_INSTALL_APPEND = " nano openvpn networkmanager iptables"
>> ENABLE_UART="1"
>> ENABLE_SPI_BUS= "1"
>> ENABLE_I2C = "1"
>> ENABLE_PCF857x_I2C_GPIO_expanders = "1"
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list