mirror of
				https://gitlab.com/alemaire/image-specs.git
				synced 2025-01-17 17:48:20 +00:00 
			
		
		
		
	rootfs subdirectory
This commit is contained in:
		
							
								
								
									
										5
									
								
								rootfs/etc/fstab
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								rootfs/etc/fstab
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| # The root file system has fs_passno=1 as per fstab(5) for automatic fsck. | ||||
| LABEL=RASPIROOT / ext4 rw 0 1 | ||||
| # All other file systems have fs_passno=2 as per fstab(5) for automatic fsck. | ||||
| LABEL=RASPIFIRM /boot/firmware vfat rw 0 2 | ||||
| proc /proc proc defaults 0 0 | ||||
							
								
								
									
										7
									
								
								rootfs/etc/network/interfaces.d/eth0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								rootfs/etc/network/interfaces.d/eth0
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| auto eth0 | ||||
|  | ||||
| # TODO: switch back to iptables-persistent once it re-enters testing | ||||
| iface eth0 inet dhcp | ||||
| # We don't currently support setup of firewalls here. | ||||
| #	pre-up iptables-restore < /etc/iptables/rules.v4 | ||||
| #	pre-up ip6tables-restore < /etc/iptables/rules.v6 | ||||
							
								
								
									
										10
									
								
								rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| [Unit] | ||||
| Description=generate SSH host keys | ||||
| ConditionPathExistsGlob=!/etc/ssh/ssh_host_*_key | ||||
|  | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStart=/usr/sbin/dpkg-reconfigure -fnoninteractive openssh-server | ||||
|  | ||||
| [Install] | ||||
| RequiredBy=multi-user.target | ||||
							
								
								
									
										13
									
								
								rootfs/etc/systemd/system/rpi-resizerootfs.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								rootfs/etc/systemd/system/rpi-resizerootfs.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| [Unit] | ||||
| Description=resize root file system | ||||
| Before=local-fs-pre.target | ||||
| DefaultDependencies=no | ||||
|  | ||||
| [Service] | ||||
| Type=oneshot | ||||
| TimeoutSec=infinity | ||||
| ExecStart=/usr/sbin/rpi-resizerootfs | ||||
| ExecStart=/bin/systemctl --no-reload disable %n | ||||
|  | ||||
| [Install] | ||||
| RequiredBy=local-fs-pre.target | ||||
							
								
								
									
										9
									
								
								rootfs/etc/systemd/system/rpi-set-sysconf.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								rootfs/etc/systemd/system/rpi-set-sysconf.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| [Unit] | ||||
| Description=Set up system configuration | ||||
|  | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStart=/usr/local/sbin/rpi-set-sysconf | ||||
|  | ||||
| [Install] | ||||
| RequiredBy=basic.target | ||||
		Reference in New Issue
	
	Block a user
	 PeterLawler
					PeterLawler