-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
Prefetch code and packages for offline install #984
Comments
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
@mstormi zram did not work, we have an apt install in install_zram_code we need to download the deb files manually from correct respian repo and install them during first-boot :-/ zulu java seems to work, azul has the same problem as zram but even worse.... |
which is just the libattr1-dev that you've asked for (what to install upfront)
what do you mean ? it works or not ? |
wrong click |
@mstormi We have to distinguish between build system (the one which executes build.bash) and target image. When I call |
I think @ecdye worked around exactly that for Zulu, check his code |
No, for Zulu we use the API so we then avoid APT altogether. Honestly, I don't think that an elegant solution for offline install is possible. We may be able to fail gracefully and leave the user with a partial system but not full one. Zulu offline may not even truly work because the install still has apt packages that it requires as prerequisites. |
which ones? That's Holger's intention of this issue to collect these. |
there's an 'offline' competitor now: https://ubuntu.com/appliance/openhab |
Do you know who created this? |
No. Canonical I believe.
already did: https://github.com/orgs/openhab/teams/openhabian-maintainers/discussions/17 |
The ones listed in |
Holger, any news ? |
@mstormi No, sorry. Not even a chance to follow everything you are doing in the meantime. Busy days, so I assume this will take a bit longer.... |
Maybe because we want the resulting image to be a reasonable size. 😉 |
It cannot be that many dependencies packages, essentially it's libs only. And why not clone them all? |
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch * use apt of target image to fetch deb packages Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch * use apt of target image to fetch deb packages * verify signature of download images using key from raspberrypi.org website * first-boot to install cached packages Signed-off-by: Holger Friedrich <[email protected]>
* initial functionality added to build.bash * directory prefix for java_zulu_fetch * use apt of target image to fetch deb packages * verify signature of download images using key from raspberrypi.org website * first-boot to install cached packages Signed-off-by: Holger Friedrich <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes #985 Fixes #984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes #985 Fixes #984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes openhab#985 Fixes openhab#984 Signed-off-by: Ethan Dye <[email protected]>
Supersedes #985 Fixes #984 Signed-off-by: Ethan Dye <[email protected]>
Refs: #825
For an "offline install", i.e. first boot of the openHABian image without internet access, we need to cache some code and packages during creation of the image.
I.e. cache ZRAM code repos, cache JAVA, cache essential packages for building ZRAM and all the dependencies.
As this is done during image creation, it cannot use the built-in mechanisms of the target image (apt, ect).
List what is required including dependencies, only if not included in the Raspberry Pi OS lite image (make, gcc, git is fine....).
The text was updated successfully, but these errors were encountered: