Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Filesystem files not available in custom OS image (burned and booted to a Pi) #50

Closed
RyanBalfanz opened this issue May 17, 2019 · 3 comments

Comments

@RyanBalfanz
Copy link

RyanBalfanz commented May 17, 2019

Here's a (as of yet non-existent) PR showing an example of what I'm doing: https://github.com/guysoft/CustomPiOS/compare/devel...RyanBalfanz:supervisor?expand=1.

The files /etc/supervisor/conf.d/* do not exist in my build and deployed custom OS (e.g. https://github.com/RyanBalfanz/RTSPiOS/tree/master/src/modules/rtspios/filesystem/root/etc/supervisor/conf.d), but I'm not sure why.

@guysoft
Copy link
Owner

guysoft commented May 19, 2019

When are you looking for them, the unpack for that root is at the end:
https://github.com/RyanBalfanz/RTSPiOS/blob/master/src/modules/rtspios/start_chroot_script#L33

Can you provide a full build.log please?

@guysoft
Copy link
Owner

guysoft commented May 19, 2019

I just ran it here and can see it copying to the right place on the build log

+ unpack /filesystem/root /
+ from=/filesystem/root
+ to=/
+ owner=
+ '[' 2 -gt 2 ']'
+ cp -v -r --preserve=mode,timestamps /filesystem/root/. /
'/filesystem/root/./README' -> '/./README'
'/filesystem/root/./etc/supervisor/conf.d/inet_http_server.conf' -> '/./etc/supervisor/conf.d/inet_http_server.conf'
'/filesystem/root/./etc/supervisor/conf.d/rtsp-server.conf' -> '/./etc/supervisor/conf.d/rtsp-server.conf'
+ '[' -n '' ']'
+ '[' -d custompios_export ']'
+ rm chroot_script
+ '[' -d filesystem ']'
+ rm -rfv filesystem

@guysoft
Copy link
Owner

guysoft commented Jun 6, 2019

Closing if no reply

@guysoft guysoft closed this as completed Jul 10, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants