mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
release: add simple batchfile and syslinux configuration to create an USB install stick
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
417439719f
commit
f21f39297f
23
config/release/create_installstick.bat
Normal file
23
config/release/create_installstick.bat
Normal file
@ -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=
|
6
config/release/sample.conf/syslinux_installer.cfg
Normal file
6
config/release/sample.conf/syslinux_installer.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
DEFAULT linux
|
||||
PROMPT 0
|
||||
|
||||
LABEL linux
|
||||
KERNEL /KERNEL
|
||||
APPEND boot=LABEL=INSTALL installer quiet
|
Loading…
x
Reference in New Issue
Block a user