[arch-releng] [PATCH] [configs/releng] Make kernel and initramfs patch relative for syslinux
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Thu Nov 24 09:32:23 EST 2011
On 11/24/2011 11:19 AM, Gerardo Exequiel Pozzi wrote:
> Signed-off-by: Gerardo Exequiel Pozzi<vmlinuz386 at yahoo.com.ar>
> ---
> configs/releng/syslinux.dual/syslinux_arch32.cfg | 4 ++--
> configs/releng/syslinux/syslinux.cfg | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/configs/releng/syslinux.dual/syslinux_arch32.cfg b/configs/releng/syslinux.dual/syslinux_arch32.cfg
> index 9b4030e..1e77f54 100644
> --- a/configs/releng/syslinux.dual/syslinux_arch32.cfg
> +++ b/configs/releng/syslinux.dual/syslinux_arch32.cfg
> @@ -4,8 +4,8 @@ Boot the Arch Linux (i686) live medium. It allows you to install Arch Linux or
> perform system maintenance.
> ENDTEXT
> MENU LABEL Boot Arch Linux (i686)
> -LINUX /%INSTALL_DIR%/boot/i686/vmlinuz
> -INITRD /%INSTALL_DIR%/boot/i686/archiso.img
> +LINUX ../i686/vmlinuz
> +INITRD ../i686/archiso.img
> APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
> # Next line should be uncommented when prepare enviroment to boot from PXE.
> #IPAPPEND 3
> diff --git a/configs/releng/syslinux/syslinux.cfg b/configs/releng/syslinux/syslinux.cfg
> index 7762278..76c62ba 100644
> --- a/configs/releng/syslinux/syslinux.cfg
> +++ b/configs/releng/syslinux/syslinux.cfg
> @@ -33,8 +33,8 @@ Boot the Arch Linux live medium. It allows you to install Arch Linux or
> perform system maintenance.
> ENDTEXT
> MENU LABEL Boot Arch Linux
> -LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz
> -INITRD /%INSTALL_DIR%/boot/%ARCH%/archiso.img
> +LINUX ../%ARCH%/vmlinuz
> +INITRD ../%ARCH%/archiso.img
> APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
> # Next line should be uncommented when prepare enviroment to boot from PXE.
> #IPAPPEND 3
I need to test this, I am going to work now. (working for HTTP, but not
for TFTP)
---- /tmp/pxeboot/arch/boot/syslinux/pxelinux.cfg ----
DEFAULT loadconfig
LABEL loadconfig
CONFIG /arch/boot/syslinux/syslinux.cfg
APPEND /arch/boot/syslinux/
-------
dnsmasq --port=0 --enable-tftp --tftp-root=/tmp/pxeboot
--dhcp-boot=/arch/boot/syslinux/gpxelinux.0,192.168.0.77
--dhcp-range=192.168.0.2,192.168.0.254,8640 --dhcp-option-force=210,/
--dhcp-option-force=209,/arch/boot/syslinux/pxelinux.cfg
See later.
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-releng
mailing list