changing default to run from media, not RAM)
This commit is contained in:
		
							parent
							
								
									318469f993
								
							
						
					
					
						commit
						145a7d6271
					
				@ -32,16 +32,16 @@ function stuffy {
 | 
				
			|||||||
  # now for setting up loader config/entries. maybe add memtest or something in the future? i dunno.
 | 
					  # now for setting up loader config/entries. maybe add memtest or something in the future? i dunno.
 | 
				
			||||||
  cat > ${TEMPDIR}/loader/loader.conf << EOF
 | 
					  cat > ${TEMPDIR}/loader/loader.conf << EOF
 | 
				
			||||||
timeout 3
 | 
					timeout 3
 | 
				
			||||||
default ${UXNAME}_ram
 | 
					default ${UXNAME}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
  cat > ${TEMPDIR}/loader/entries/${UXNAME}_ram.conf << EOF
 | 
					  cat > ${TEMPDIR}/loader/entries/${UXNAME}_ram.conf << EOF
 | 
				
			||||||
title   ${PNAME}
 | 
					title   ${PNAME} (RAM)
 | 
				
			||||||
linux   /boot/${UXNAME}.kern
 | 
					linux   /boot/${UXNAME}.kern
 | 
				
			||||||
initrd  /boot/${UXNAME}.img
 | 
					initrd  /boot/${UXNAME}.img
 | 
				
			||||||
options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
  cat > ${TEMPDIR}/loader/entries/${UXNAME}.conf << EOF
 | 
					  cat > ${TEMPDIR}/loader/entries/${UXNAME}.conf << EOF
 | 
				
			||||||
title   ${PNAME} (Run from media)
 | 
					title   ${PNAME} (Media)
 | 
				
			||||||
linux   /boot/${UXNAME}.kern
 | 
					linux   /boot/${UXNAME}.kern
 | 
				
			||||||
initrd  /boot/${UXNAME}.img
 | 
					initrd  /boot/${UXNAME}.img
 | 
				
			||||||
options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
@ -73,16 +73,16 @@ EOF
 | 
				
			|||||||
  # GETTING DEJA VU HERE.
 | 
					  # GETTING DEJA VU HERE.
 | 
				
			||||||
  cat > ${SRCDIR}/efiboot/loader/loader.conf << EOF
 | 
					  cat > ${SRCDIR}/efiboot/loader/loader.conf << EOF
 | 
				
			||||||
timeout 3
 | 
					timeout 3
 | 
				
			||||||
default ${UXNAME}_ram
 | 
					default ${UXNAME}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
  cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}_ram.conf << EOF
 | 
					  cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}_ram.conf << EOF
 | 
				
			||||||
title   ${PNAME}
 | 
					title   ${PNAME} (RAM)
 | 
				
			||||||
linux   /EFI/${DISTNAME}/${UXNAME}.efi
 | 
					linux   /EFI/${DISTNAME}/${UXNAME}.efi
 | 
				
			||||||
initrd  /EFI/${DISTNAME}/${UXNAME}.img
 | 
					initrd  /EFI/${DISTNAME}/${UXNAME}.img
 | 
				
			||||||
options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
  cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}.conf << EOF
 | 
					  cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}.conf << EOF
 | 
				
			||||||
title   ${PNAME} (Run from media)
 | 
					title   ${PNAME} (Media)
 | 
				
			||||||
linux   /EFI/${DISTNAME}/${UXNAME}.efi
 | 
					linux   /EFI/${DISTNAME}/${UXNAME}.efi
 | 
				
			||||||
initrd  /EFI/${DISTNAME}/${UXNAME}.img
 | 
					initrd  /EFI/${DISTNAME}/${UXNAME}.img
 | 
				
			||||||
options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
 | 
				
			|||||||
@ -60,7 +60,7 @@ MENU BACKGROUND /${UXNAME}.png
 | 
				
			|||||||
LABEL check
 | 
					LABEL check
 | 
				
			||||||
  MENU LABEL Your best supported kernel should be detected automatically.
 | 
					  MENU LABEL Your best supported kernel should be detected automatically.
 | 
				
			||||||
  COM32 ifcpu64.c32
 | 
					  COM32 ifcpu64.c32
 | 
				
			||||||
  APPEND ${UXNAME}_ram_64 -- ${UXNAME}_ram_32
 | 
					  APPEND ${UXNAME}_64 -- ${UXNAME}_32
 | 
				
			||||||
  MENU DEFAULT
 | 
					  MENU DEFAULT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -84,10 +84,10 @@ MENU SEPARATOR
 | 
				
			|||||||
## 64 BIT
 | 
					## 64 BIT
 | 
				
			||||||
MENU BEGIN 64BIT
 | 
					MENU BEGIN 64BIT
 | 
				
			||||||
MENU LABEL ^1) 64-Bit ...
 | 
					MENU LABEL ^1) 64-Bit ...
 | 
				
			||||||
ONTIMEOUT ${UXNAME}_ram_64
 | 
					ONTIMEOUT ${UXNAME}_64
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
LABEL ${UXNAME}_ram_64
 | 
					LABEL ${UXNAME}_ram_64
 | 
				
			||||||
  MENU LABEL ^1) ${PNAME} (run from RAM) (Default)
 | 
					  MENU LABEL ^1) ${PNAME} (run from RAM)
 | 
				
			||||||
  LINUX /boot/${UXNAME}.64.kern
 | 
					  LINUX /boot/${UXNAME}.64.kern
 | 
				
			||||||
  INITRD /boot/${UXNAME}.64.img
 | 
					  INITRD /boot/${UXNAME}.64.img
 | 
				
			||||||
  APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					  APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
@ -97,7 +97,7 @@ LABEL ${UXNAME}_ram_64
 | 
				
			|||||||
  MENU DEFAULT
 | 
					  MENU DEFAULT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL ${UXNAME}_64 
 | 
					LABEL ${UXNAME}_64 
 | 
				
			||||||
  MENU LABEL ^1) ${PNAME}
 | 
					  MENU LABEL ^1) ${PNAME} (Default)
 | 
				
			||||||
  LINUX /boot/${UXNAME}.64.kern
 | 
					  LINUX /boot/${UXNAME}.64.kern
 | 
				
			||||||
  INITRD /boot/${UXNAME}.64.img
 | 
					  INITRD /boot/${UXNAME}.64.img
 | 
				
			||||||
  APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					  APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
@ -110,11 +110,11 @@ MENU END
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
MENU BEGIN 32BIT
 | 
					MENU BEGIN 32BIT
 | 
				
			||||||
MENU LABEL ^2) 32-Bit ...
 | 
					MENU LABEL ^2) 32-Bit ...
 | 
				
			||||||
ONTIMEOUT ${UXNAME}_ram_32
 | 
					ONTIMEOUT ${UXNAME}_32
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 32 BIT
 | 
					## 32 BIT
 | 
				
			||||||
LABEL ${UXNAME}_ram_32
 | 
					LABEL ${UXNAME}_ram_32
 | 
				
			||||||
  MENU LABEL ^1) ${PNAME} (run from RAM) (Default)
 | 
					  MENU LABEL ^1) ${PNAME} (run from RAM)
 | 
				
			||||||
  LINUX /boot/${UXNAME}.32.kern
 | 
					  LINUX /boot/${UXNAME}.32.kern
 | 
				
			||||||
  INITRD /boot/${UXNAME}.32.img
 | 
					  INITRD /boot/${UXNAME}.32.img
 | 
				
			||||||
  APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					  APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
@ -124,7 +124,7 @@ LABEL ${UXNAME}_ram_32
 | 
				
			|||||||
  MENU DEFAULT
 | 
					  MENU DEFAULT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL ${UXNAME}_32 
 | 
					LABEL ${UXNAME}_32 
 | 
				
			||||||
  MENU LABEL ^2) ${PNAME}
 | 
					  MENU LABEL ^2) ${PNAME} (Default)
 | 
				
			||||||
  LINUX /boot/${UXNAME}.32.kern
 | 
					  LINUX /boot/${UXNAME}.32.kern
 | 
				
			||||||
  INITRD /boot/${UXNAME}.32.img
 | 
					  INITRD /boot/${UXNAME}.32.img
 | 
				
			||||||
  APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					  APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
@ -188,10 +188,10 @@ MENU SEPARATOR
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
MENU BEGIN ${ARCH}BIT
 | 
					MENU BEGIN ${ARCH}BIT
 | 
				
			||||||
MENU LABEL ^1) ${ARCH}-Bit ...
 | 
					MENU LABEL ^1) ${ARCH}-Bit ...
 | 
				
			||||||
ONTIMEOUT ${UXNAME}_ram_${ARCH}
 | 
					ONTIMEOUT ${UXNAME}_${ARCH}
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
LABEL ${UXNAME}_ram_${ARCH}
 | 
					LABEL ${UXNAME}_ram_${ARCH}
 | 
				
			||||||
  MENU LABEL ^1) ${PNAME} (run from RAM) (Default)
 | 
					  MENU LABEL ^1) ${PNAME} (run from RAM)
 | 
				
			||||||
  LINUX /boot/${UXNAME}.${ARCH}.kern
 | 
					  LINUX /boot/${UXNAME}.${ARCH}.kern
 | 
				
			||||||
  INITRD /boot/${UXNAME}.${ARCH}.img
 | 
					  INITRD /boot/${UXNAME}.${ARCH}.img
 | 
				
			||||||
  APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					  APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
@ -201,7 +201,7 @@ LABEL ${UXNAME}_ram_${ARCH}
 | 
				
			|||||||
  MENU DEFAULT
 | 
					  MENU DEFAULT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL ${UXNAME}_${ARCH} 
 | 
					LABEL ${UXNAME}_${ARCH} 
 | 
				
			||||||
  MENU LABEL ^1) ${PNAME}
 | 
					  MENU LABEL ^1) ${PNAME} (Default)
 | 
				
			||||||
  LINUX /boot/${UXNAME}.${ARCH}.kern
 | 
					  LINUX /boot/${UXNAME}.${ARCH}.kern
 | 
				
			||||||
  INITRD /boot/${UXNAME}.${ARCH}.img
 | 
					  INITRD /boot/${UXNAME}.${ARCH}.img
 | 
				
			||||||
  APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
					  APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user