Debian / raspi3-image-spec

contains the files to build the https://wiki.debian.org/RaspberryPi3 image
127 stars 32 forks source link

Image assumes mmc location #17

Closed nicman23 closed 6 years ago

nicman23 commented 6 years ago

you should probably use labels for fstab and cmdline (and of course name the partitions accordingly)

stapelberg commented 6 years ago

Not sure I follow. The image has a defined partition table, what’s wrong with making assumptions about those partitions?

nicman23 commented 6 years ago

the assumption is that an sd card will be used. using a usb device such as a usb stick with its block device in /dev/sda fails to boot. also, I know RPi has only one mmc device, but it is bad form to use them in fstab and kernel's cmdline.

stapelberg commented 6 years ago

Okay. Can you send a pull request for this as well please?

nicman23 commented 6 years ago

i am not familiar with yaml that builds the image, where can i get some documentation?

stapelberg commented 6 years ago

We’re using vmdb2. Maybe https://github.com/larswirzenius/vmdb2/blob/master/doc/en/000.mdwn is a good start? Otherwise, feel free to browse https://github.com/larswirzenius/vmdb2.

gwolf commented 6 years ago

This has been fixed in our HEAD. No images have yet been produced with this, I'm holding off producing an image until I get time to update and test an updated raspi3-firmware that enables wifi on the 3B+.