mirror of
				https://github.com/brain-hackers/buildbrain
				synced 2025-11-04 06:18:34 +09:00 
			
		
		
		
	Mount /boot automatically
This commit is contained in:
		@@ -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
 | 
			
		||||
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 $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
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
# Enable /boot mount
 | 
			
		||||
systemctl enable boot.mount
 | 
			
		||||
 | 
			
		||||
# Get wild
 | 
			
		||||
cat <<EOF > /etc/apt/sources.list
 | 
			
		||||
deb http://deb.debian.org/debian bullseye main contrib non-free
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user