From f21f39297f750e9432eb257e4fdcef71569f5154 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 15 Aug 2010 15:56:23 +0200 Subject: [PATCH] release: add simple batchfile and syslinux configuration to create an USB install stick Signed-off-by: Stephan Raue --- config/release/create_installstick.bat | 23 +++++++++++++++++++ .../sample.conf/syslinux_installer.cfg | 6 +++++ 2 files changed, 29 insertions(+) create mode 100644 config/release/create_installstick.bat create mode 100644 config/release/sample.conf/syslinux_installer.cfg diff --git a/config/release/create_installstick.bat b/config/release/create_installstick.bat new file mode 100644 index 0000000000..875f1d51d0 --- /dev/null +++ b/config/release/create_installstick.bat @@ -0,0 +1,23 @@ +@ECHO OFF +CLS +ECHO. +ECHO OpenELEC.tv USB Installer +ECHO. +ECHO. +ECHO ****************************************************** +ECHO. +ECHO This will wipe any data off your chosen drive +ECHO Please read the instructions and use very carefully... +ECHO. +ECHO ****************************************************** +ECHO. +ECHO. +ECHO Enter USB Drive letter +ECHO eg. d: +ECHO. +SET /P DRIVE= -- +format %DRIVE% /V:INSTALL /Q /FS:FAT32 +3rdparty\syslinux\win32\syslinux.exe %DRIVE% +copy target\* %DRIVE% +copy sample.conf\syslinux_installer.cfg %DRIVE%\syslinux.cfg +SET DRIVE= \ No newline at end of file diff --git a/config/release/sample.conf/syslinux_installer.cfg b/config/release/sample.conf/syslinux_installer.cfg new file mode 100644 index 0000000000..a23c4e2331 --- /dev/null +++ b/config/release/sample.conf/syslinux_installer.cfg @@ -0,0 +1,6 @@ +DEFAULT linux +PROMPT 0 + +LABEL linux + KERNEL /KERNEL + APPEND boot=LABEL=INSTALL installer quiet