Add more required files & folders to createimg.sh
This commit is contained in:
		
							parent
							
								
									a55e2671b8
								
							
						
					
					
						commit
						df3c282f42
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -48,10 +48,17 @@ packages=(musl mksh bmake gmake libressl cmake curl rsync flex byacc om4 zlib sa | ||||||
| cp_packages ${ROOT} | cp_packages ${ROOT} | ||||||
| 
 | 
 | ||||||
| echo "Copying misc files & creating misc dirs for live-usb" | echo "Copying misc files & creating misc dirs for live-usb" | ||||||
|  | mkdir ${ROOT}/proc/ | ||||||
|  | mkdir ${ROOT}/dev/ | ||||||
|  | mkdir ${ROOT}/tmp/ | ||||||
|  | mkdir ${ROOT}/sys/ | ||||||
|  | 
 | ||||||
| mkdir ${ROOT}/etc/ | mkdir ${ROOT}/etc/ | ||||||
| mkdir ${ROOT}/root/ | mkdir ${ROOT}/root/ | ||||||
| cp ./pkgs/tiny-linux-bootloader/fstab ${ROOT}/etc/fstab | cp ./pkgs/tiny-linux-bootloader/fstab ${ROOT}/etc/fstab | ||||||
| cp /etc/hostname ${ROOT}/hostname | cp /etc/hostname ${ROOT}/etc/hostname | ||||||
|  | cp /etc/passwd  ${ROOT}/etc/passwd | ||||||
|  | touch /etc/shadow | ||||||
| 
 | 
 | ||||||
| echo "Using the host keymap" | echo "Using the host keymap" | ||||||
| cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf  | cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue