Compare commits
2 commits
05acbe7753
...
f3d8d16e1a
Author | SHA1 | Date | |
---|---|---|---|
f3d8d16e1a | |||
7aa904af4e |
1 changed files with 3 additions and 4 deletions
|
@ -38,9 +38,9 @@ ln -v -s /lib/systemd/system/firstboot.service /tmp/rpi-img/etc/systemd/system/m
|
|||
ln -v -s /lib/systemd/system/systemd-time-wait-sync.service /tmp/rpi-img/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service
|
||||
|
||||
# disable built-in audio
|
||||
sed -i 's/^dtparam=audio=on/#&/' /tmp/rpi-img/boot/firmware/config.txt
|
||||
sed -i 's/^dtparam=audio=on/#&/' /tmp/rpi-img/boot/config.txt
|
||||
|
||||
echo "] press enter to write the image
|
||||
echo "] press enter to write the image"
|
||||
read
|
||||
|
||||
sync
|
||||
|
@ -52,5 +52,4 @@ umount /tmp/rpi-img
|
|||
rmdir -v /tmp/rpi-img
|
||||
|
||||
#write image
|
||||
xz -v -T 0 -z src.img
|
||||
mv -v src.img.xz vcpi.img.xz
|
||||
mv -v src.img vcpi.img
|
||||
|
|
Loading…
Reference in a new issue