Cleanup and update stuff
This commit is contained in:
		
							parent
							
								
									8364becef3
								
							
						
					
					
						commit
						b9d5b166f4
					
				
					 25 changed files with 253 additions and 93 deletions
				
			
		|  | @ -32,25 +32,15 @@ sha256sums=( | |||
| ) | ||||
| backup=() | ||||
| 
 | ||||
| _sed_path() { | ||||
| 	echo "$1" | sed -e "s/\//_/g" | ||||
| } | ||||
| 
 | ||||
| _install() { | ||||
| 	temp_pkg=$1 | ||||
| 	temp_src=$(_sed_path "$temp_pkg") | ||||
| 	# shellcheck disable=SC2154 | ||||
|     install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}" | ||||
| } | ||||
| 
 | ||||
| . ../utils.sh | ||||
| 
 | ||||
| package() { | ||||
| 	_install "boot/loader/entries/portable.conf" "755" | ||||
| 	_install "boot/loader/loader.conf" "755" | ||||
| 	_system_install "boot/loader/entries/portable.conf" "755" | ||||
| 	_system_install "boot/loader/loader.conf" "755" | ||||
| 
 | ||||
| 	_install "etc/fstab" | ||||
| 	_install "etc/hostname" | ||||
| 	_install "etc/systemd/network/20-wired.network" | ||||
| 	_system_install "etc/fstab" | ||||
| 	_system_install "etc/hostname" | ||||
| 	_system_install "etc/systemd/network/20-wired.network" | ||||
| } | ||||
| 
 | ||||
| # vim: ft=sh | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue