hypriot / os-rootfs

The root filesystem of HypriotOS
http://blog.hypriot.com/post/how-to-get-docker-working-on-your-favourite-arm-board-with-hypriotos/
MIT License
68 stars 40 forks source link

Missing Packages less and dirmngr #64

Closed ecliptik closed 6 years ago

ecliptik commented 6 years ago

When running the latest HypriotOS image it seems some packages are missing from newer builds of os-rootfs, specifically I noticed less and dirmngr. This is causing an issue (https://github.com/DieterReuter/image-builder-rpi64/issues/56) when trying to add GPG keys with cloud-init.

Not sure if there are other packages missing as well, but these two I noticed right away when I re-flashed the latest HypriotOS v20180107-184643 which uses v1.2.5 in commit https://github.com/DieterReuter/image-builder-rpi64/commit/6d0ef7451bb26bf60298a740d979c1bee5c9db5c

firecyberice commented 6 years ago

debootstrap does not resolve recommends https://lists.debian.org/debian-user/2017/01/msg00921.html

ecliptik commented 6 years ago

@firecyberice apparently this was filed as a bug last year, but not moved to a dep due to gpg "functioning properly without network support". In order to use network features (such as adding keys from a keyserver) this package is required.

The bug is discussed here, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845720

I'm testing out a debian-arm64 image where dirmngr is added to DEFAULT_PACKAGES_INCLUDE and see if cloud-init works properly again.

DieterReuter commented 6 years ago

As noted in https://github.com/DieterReuter/image-builder-rpi64/issues/56 I think we should add these dependencies while installing cloud-init. So PR https://github.com/DieterReuter/image-builder-rpi64/pull/57 resolves this issue.