Compare commits
	
		
			1 Commits
		
	
	
		
			main
			...
			39065008aa
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						39065008aa
	
				 | 
					
					
						
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,2 @@
 | 
			
		||||
archive.sh
 | 
			
		||||
system.conf
 | 
			
		||||
*kate-swp
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								install.sh
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								install.sh
									
									
									
									
									
								
							@@ -90,6 +90,27 @@ if [[ "${ID}" == 'elementary' ]]; then
 | 
			
		||||
		network-manager \
 | 
			
		||||
		openssh-{client,server} \
 | 
			
		||||
		popularity-contest
 | 
			
		||||
# elif [[ "${ID}" == 'debian' ]]; then
 | 
			
		||||
# 	apt \
 | 
			
		||||
# 		install \
 | 
			
		||||
# 		--yes \
 | 
			
		||||
# 		console-setup \
 | 
			
		||||
# 		cryptsetup \
 | 
			
		||||
# 		curl \
 | 
			
		||||
# 		dpkg-dev \
 | 
			
		||||
# 		efibootmgr \
 | 
			
		||||
# 		ethtool \
 | 
			
		||||
# 		firmware-{ast,atheros,bnx{2,2x},brcm80211,ipw2x00,iwlwifi,libertas,linux,realtek,zd1211} \
 | 
			
		||||
# 		flatpak \
 | 
			
		||||
# 		keyboard-configuration \
 | 
			
		||||
# 		linux-{headers,image}-amd64 \
 | 
			
		||||
# 		locales \
 | 
			
		||||
# 		nano \
 | 
			
		||||
# 		network-manager \
 | 
			
		||||
# 		openssh-{client,server} \
 | 
			
		||||
# 		popularity-contest \
 | 
			
		||||
# 		printer-driver-all \
 | 
			
		||||
# 		tasksel
 | 
			
		||||
elif [[ "${ID}" == 'fedora' ]]; then
 | 
			
		||||
	if [[ "${VERSION_ID}" -lt '41' ]]; then
 | 
			
		||||
		dnf \
 | 
			
		||||
@@ -150,6 +171,8 @@ EOF
 | 
			
		||||
 | 
			
		||||
	apt install \
 | 
			
		||||
		--yes \
 | 
			
		||||
		dosfstools \
 | 
			
		||||
		systemd-timesyncd \
 | 
			
		||||
		zfs-initramfs
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										49
									
								
								partition.sh
									
									
									
									
									
								
							
							
						
						
									
										49
									
								
								partition.sh
									
									
									
									
									
								
							@@ -40,8 +40,8 @@ else
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [[ "${ID}" == 'debian' ]]; then
 | 
			
		||||
	if [[ ! "$(hostname)" == "debian-live" ]]; then
 | 
			
		||||
		cat << EOF | tee /etc/apt/sources.list.d/contrib.sources 1> /dev/null
 | 
			
		||||
	if [[ ! "${HOST}" == "debian-live" ]]; then
 | 
			
		||||
		cat << EOF | tee /mnt/etc/apt/sources.list.d/contrib.sources &> /dev/null
 | 
			
		||||
Enabled:		yes
 | 
			
		||||
Types:			deb
 | 
			
		||||
URIs:			http://deb.debian.org/debian/
 | 
			
		||||
@@ -100,7 +100,7 @@ fi
 | 
			
		||||
 | 
			
		||||
timedatectl
 | 
			
		||||
 | 
			
		||||
if [[ ! "$(hostname)" == "debian-live" ]]; then
 | 
			
		||||
if [[ ! "${HOST}" == "debian-live" ]]; then
 | 
			
		||||
	zgenhostid \
 | 
			
		||||
		-f \
 | 
			
		||||
		0x00bab10c
 | 
			
		||||
@@ -434,30 +434,23 @@ if [[ "${ID}" == 'elementary' ]]; then
 | 
			
		||||
		/mnt
 | 
			
		||||
elif [[ "${ID}" == 'debian' ]]; then
 | 
			
		||||
	mmdebstrap \
 | 
			
		||||
		--skip=check/empty \
 | 
			
		||||
		--components=main,non-free-firmware,contrib \
 | 
			
		||||
		--mode=root \
 | 
			
		||||
		--format=directory \
 | 
			
		||||
		--include=console-setup \
 | 
			
		||||
		--include=cryptsetup \
 | 
			
		||||
		--include=curl \
 | 
			
		||||
		--include=dosfstools \
 | 
			
		||||
		--include=dpkg-dev \
 | 
			
		||||
		--include=efibootmgr \
 | 
			
		||||
		--include=ethtool \
 | 
			
		||||
		--include=firmware-{ast,atheros,bnx{2,2x},brcm80211,iwlwifi,libertas,linux,realtek,zd1211} \
 | 
			
		||||
		--include=flatpak \
 | 
			
		||||
		--include=keyboard-configuration \
 | 
			
		||||
		--include=linux-{headers,image}-amd64 \
 | 
			
		||||
		--include=locales \
 | 
			
		||||
		--include=nano \
 | 
			
		||||
		--include=network-manager \
 | 
			
		||||
		--include=openssh-{client,server} \
 | 
			
		||||
		--include=popularity-contest \
 | 
			
		||||
		--include=printer-driver-all \
 | 
			
		||||
		--include=systemd-timesyncd \
 | 
			
		||||
		--include=tasksel \
 | 
			
		||||
		--include=zstd \
 | 
			
		||||
		--include=console-setup,\
 | 
			
		||||
		cryptsetup,\
 | 
			
		||||
		curl,\
 | 
			
		||||
		dpkg-dev,\
 | 
			
		||||
		efibootmgr,\
 | 
			
		||||
		ethtool,\
 | 
			
		||||
		firmware-{ast,atheros,bnx{2,2x},brcm80211,ipw2x00,iwlwifi,libertas,linux,realtek,zd1211},\
 | 
			
		||||
		flatpak,\
 | 
			
		||||
		keyboard-configuration,\
 | 
			
		||||
		linux-{headers,image}-amd64,\
 | 
			
		||||
		locales,\
 | 
			
		||||
		nano,\
 | 
			
		||||
		network-manager,\
 | 
			
		||||
		openssh-{client,server},\
 | 
			
		||||
		popularity-contest,\
 | 
			
		||||
		printer-driver-all,\
 | 
			
		||||
		tasksel \
 | 
			
		||||
		"${VERSION_CODENAME}" \
 | 
			
		||||
		/mnt
 | 
			
		||||
fi
 | 
			
		||||
@@ -527,8 +520,6 @@ Suites:			${VERSION_CODENAME}-updates
 | 
			
		||||
Components:		main non-free-firmware contrib
 | 
			
		||||
Signed-By:		/usr/share/keyrings/debian-archive-keyring.gpg
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
	rm /mnt/etc/apt/sources.list
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
mount \
 | 
			
		||||
 
 | 
			
		||||
@@ -88,10 +88,6 @@ EOF
 | 
			
		||||
		audio,cdrom,dip,floppy,wheel,video,dialout \
 | 
			
		||||
		${USERNAME}
 | 
			
		||||
else
 | 
			
		||||
	if [[ -z "$(cat /etc/group | grep 'lpadmin')" ]]; then
 | 
			
		||||
		groupadd --gid 108 lpadmin
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	usermod \
 | 
			
		||||
		-a \
 | 
			
		||||
		-G \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user