This repository has been archived by the owner on Sep 30, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Piethein Strengholt
committed
Nov 11, 2011
1 parent
4a26135
commit a5e65ca
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/sh | ||
|
||
# Copyright (C) 2005-2008 Team XBMC | ||
# http://www.xbmc.org | ||
# | ||
# This Program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2, or (at your option) | ||
# any later version. | ||
# | ||
# This Program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with XBMC; see the file COPYING. If not, write to | ||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
# http://www.gnu.org/copyleft/gpl.html | ||
|
||
rm -rf $WORKPATH/buildDEBs/build-installer.sh | ||
rm -rf $WORKPATH/buildDEBs/build-live-boot.sh | ||
rm -rf $WORKPATH/buildDEBs/build-live-config.sh | ||
|
||
rm -rf $WORKPATH/copyFiles-installer.sh | ||
rm -rf $WORKPATH/copyFiles-liveBoot.sh | ||
|
||
# Set the output to be an USBHDD disk image | ||
sed -i "s/BINARY_IMAGES=iso/BINARY_IMAGES=iso-hybrid/g" $WORKPATH/buildLive/auto/config | ||
|
||
# We have to use syslinux in this case | ||
sed -i "s/BOOT_LOADER=grub2/BOOT_LOADER=syslinux/g" $WORKPATH/buildLive/auto/config | ||
|
||
# We need casper in this case | ||
sed -i "s/INITRAMFS=live-boot/INITRAMFS=casper/g" $WORKPATH/buildLive/auto/config | ||
|
||
# No installer | ||
sed -i "s/INSTALLER=true/INSTALLER=false/g" $WORKPATH/buildLive/auto/config | ||
|
||
# No grub | ||
sed -i "s/grub-pc/#grub-pc/g" $WORKPATH/buildLive/Files/config/package-lists/packages.list.chroot | ||
rm -rf $WORKPATH/buildLive/Files/config/binary_grub/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters