more cryptsetup packages
This commit is contained in:
		
							parent
							
								
									b16bbb60ed
								
							
						
					
					
						commit
						df40b1b27b
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										6
									
								
								entry.sh
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								entry.sh
									
										
									
									
									
								
							|  | @ -136,7 +136,7 @@ function first_stage(){ | |||
| 
 | ||||
| 	genfstab -U $TARGET | tee $TARGET/etc/fstab | ||||
| 	UUID=$(lsblk -lpo NAME,UUID | grep ${DEVICE}2 | awk '{print $2}') | ||||
| 	echo cryptlvm UUID=${UUID} none luks > $TARGET/etc/crypttab | ||||
| 	echo cryptlvm UUID=${UUID} none luks,initramfs > $TARGET/etc/crypttab | ||||
| } | ||||
| 
 | ||||
| function second_stage(){ | ||||
|  | @ -152,10 +152,10 @@ function second_stage(){ | |||
| 	hostname $NEW_HOSTNAME | ||||
| 	sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list | ||||
| 	apt update | ||||
| 	apt install -y linux-image-amd64 grub2 cryptsetup btrfs-progs lvm2 firmware-iwlwifi locales tzdata keyboard-configuration console-common zsh intel-microcode | ||||
| 	apt install -y linux-image-amd64 grub2 cryptsetup cryptsetup-initramfs cryptsetup-suspend btrfs-progs lvm2 firmware-iwlwifi locales tzdata keyboard-configuration console-common zsh intel-microcode | ||||
| 	grub-install ${DEVICE} | ||||
| 	update-grub | ||||
| 	update-initramfs -u | ||||
| 	update-initramfs -k all -u | ||||
| 	mkdir /snap | ||||
| 	btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_basesystem) | ||||
| 	apt install -y task-mate-desktop mate-desktop-environment-extra | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue