mirror of
https://github.com/brain-hackers/buildbrain
synced 2024-12-22 04:00:11 +09:00
Mount /boot automatically
This commit is contained in:
parent
ee93757ff1
commit
bc2c108d77
@ -19,3 +19,5 @@ install -g 1000 -o 1000 -m 0644 $SRC/home/user/.config/fcitx/profile $DST/home/u
|
|||||||
sudo -u#1000 -g#1000 mkdir -p $DST/home/user/lxterminal
|
sudo -u#1000 -g#1000 mkdir -p $DST/home/user/lxterminal
|
||||||
install -g 1000 -o 1000 -m 0644 $SRC/home/user/lxterminal/lxterminal.conf $DST/home/user/lxterminal/lxterminal.conf
|
install -g 1000 -o 1000 -m 0644 $SRC/home/user/lxterminal/lxterminal.conf $DST/home/user/lxterminal/lxterminal.conf
|
||||||
install -g root -o root -m 0644 -D $SRC/etc/jwm/system.jwmrc $DST/etc/jwm/system.jwmrc
|
install -g root -o root -m 0644 -D $SRC/etc/jwm/system.jwmrc $DST/etc/jwm/system.jwmrc
|
||||||
|
|
||||||
|
install -g root -o root -m 0644 $SRC/lib/systemd/system/boot.mount $DST/lib/systemd/system/boot.mount
|
||||||
|
10
os-brainux/override/lib/systemd/system/boot.mount
Normal file
10
os-brainux/override/lib/systemd/system/boot.mount
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Mount boot partition
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=/dev/mmcblk1p1
|
||||||
|
Where=/boot
|
||||||
|
Options=ro
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -136,6 +136,9 @@ ttymxc0
|
|||||||
ttyLP0
|
ttyLP0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Enable /boot mount
|
||||||
|
systemctl enable boot.mount
|
||||||
|
|
||||||
# Get wild
|
# Get wild
|
||||||
cat <<EOF > /etc/apt/sources.list
|
cat <<EOF > /etc/apt/sources.list
|
||||||
deb http://deb.debian.org/debian bullseye main contrib non-free
|
deb http://deb.debian.org/debian bullseye main contrib non-free
|
||||||
|
Loading…
Reference in New Issue
Block a user