TOLDOTECHNIK / buildroot-webkit

Buildroot WebKit fullscreen browser for Raspberry Pi. Suitable for HTML 5 user interfaces or digital signage / kiosk installations. It also can be used as a fullscreen video loop player. Ready to use RPi Zero/W and RPi 3 B SD card images are available.
244 stars 53 forks source link

Is it possible to add node libs in the buildroot? #22

Closed danielmorena closed 3 years ago

danielmorena commented 3 years ago

I'm interested in add node GPIO libs, and omxplayer via dbus control. Is it possible extending this script? how i include this, is there a documetation?

danielmorena commented 3 years ago

Also, is it possible to include a pre-configured terminal command? I want to switch between read-only and write-only fs modes using a bash script

TOLDOTECHNIK commented 3 years ago

Please refer to https://github.com/TOLDOTECHNIK/buildroot-webkit/issues/9#issuecomment-486373284 for adding node.js modules.

omxplayer is already included in the prebuilt images.

TOLDOTECHNIK commented 3 years ago

You can make the /dev/root read-only by editing /etc/fstab. There's also an option in make menuconfig (System configuration -> remount root filesystem read-write during boot)

danielmorena commented 3 years ago

excellent, i will try the receipt for the build root. Let me ask a final question, is it possible to create the image with a custom software? I mean to create an image with my app pre packed? where do i place the files?

TOLDOTECHNIK commented 3 years ago

Best way to store custom binary files is in: ./board/toldotechnik_rpi/rootfs-overlay/usr/local/bin/

TOLDOTECHNIK commented 3 years ago

Have you already made progress?

danielmorena commented 3 years ago

yes! thanks for the support!