bitsy-ai / printnanny-os

Image repository, change logs, and issue tracking for PrintNanny OS
GNU Affero General Public License v3.0
23 stars 2 forks source link

Raspberry Pi Imager v1.7.4+ outputs incompatible network config #301

Closed leigh-johnson closed 1 year ago

leigh-johnson commented 1 year ago

Describe the bug

We rely on the Raspberry Pi imager to write a CloudInit data source consisting of:

v1.7.3

v1.7.4

Here's what v1.7.4 is outputting instead:

Everything else appears to be the same within the file, just the name changed.

We can write a shim that copies this file to /boot/network-config in our pre-init script, before passing system init control to systemd.

leigh-johnson commented 1 year ago

Fix verified 👍

-----------------------
Build Info:  |
-----------------------
IMAGE_NAME = printnanny-release-image-raspberrypi4-64-20230426175045
DISTRO_PRETTY = PrintNanny Linux 0.6.8 (Feldspar)
VARIANT_NAME = PrintNanny OS Core
VARIANT_ID = core
DISTRO = printnanny
DISTRO_NAME = PrintNanny Linux
DISTRO_VERSION = 0.6.8
DISTRO_CODENAME = Feldspar
ID_LIKE = BitsyLinux
HOME_URL = https://printnanny.ai
BUG_REPORT_URL = https://github.com/bitsy-ai/printnanny-os/issues
YOCTO_VERSION = 4.1.2
YOCTO_CODENAME = Langdale
MACHINE = raspberrypi4-64
TUNE_PKGARCH = cortexa72
-----------------------
Layer Revisions:      |
-----------------------
meta              = langdale:965c2ec095267c917bac66880b14884b399943ce
meta-poky         = langdale:965c2ec095267c917bac66880b14884b399943ce
meta-yocto-bsp    = langdale:965c2ec095267c917bac66880b14884b399943ce
meta-raspberrypi  = langdale-libcamera-fix:99f5a91d9d4b34ff8c214cf61cd12f375da1a76a
meta-oe           = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-python       = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-multimedia   = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-bitsy        = main:462ba91cbb3077fc593bfec125442092dfe54f69
meta-neural-network = mickledore:39f06bfa582eedc8621df677bb5cf044e9481309
meta-printnanny   = main:462ba91cbb3077fc593bfec125442092dfe54f69
meta-networking   = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-filesystems  = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-initramfs    = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-webserver    = langdale:f8cb46d803190bb02085c8a7d20957a71d32f311
meta-swupdate     = mickledore:c47a10be18412919f4c7041be05509ba97ac79f4
meta-microcontroller = mickledore:a848733698649628d0c3e34ae04ced0ee6ce3aee
workspace         = langdale:965c2ec095267c917bac66880b14884b399943ce