-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use s6-overlay to handle the startup of socat and Home Assistant #2
base: master
Are you sure you want to change the base?
Conversation
Thank you for all the work. I'll test these in the next couple of days and merge the pull request (after a quick look I don't expect any issues). |
@vladbabii Any update on this? |
/tmp/s6-overlay.tar.gz -L \ | ||
"https://github.com/just-containers/s6-overlay/releases/download/${OVERLAY_VERSION}/s6-overlay-${BUILD_ARCH}.tar.gz" && \ | ||
tar xfz \ | ||
/tmp/s6-overlay.tar.gz -C / && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the docs for s6-overly suggest using CMD
instead: https://github.com/just-containers/s6-overlay#using-cmd
All, I am not planning to continue with this PR. If anyone else would like to make the changes and incorporate the code, please feel free. I ended up switching to use |
Can you share your config with usbip or point me to a guide. Thanks.
søn. 9. jun. 2019 23.33 skrev shbatm <notifications@github.com>:
… All, I am not planning to continue with this PR. If anyone else would like
to make the changes and incorporate the code, please feel free.
I ended up switching to use usbip instead of socat and found that I can
pass through my device from the host using the /dev/serial/by-id/ path
into HASS.io, therefore, this is no longer needed in my setup.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AAV6P7Z4JQD6XQUSCJO6C4TPZVZI5A5CNFSM4GT3RGF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXISWJA#issuecomment-500247332>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAV6P75ADWIKVTMKJRSNOWTPZVZI5ANCNFSM4GT3RGFQ>
.
|
Sharing some changes I made for my personal use. I made some modifications to use
s6-overlay
to manage socat and HASS startup.I also modified the Dockerfile to use Alpine Linux's
apk add
instead of Ubuntu'sapt-get install
since the new Home Assistant images are based on Alpine. In addition, you can provide--build-arg BUILD_FROM=...
in yourdocker build
command to specify the base Home Assistant image to use. For example, I use--build-arg BUILD_FROM=homeassistant/qemuarm-64-homeassistant
for my system.