forked from rescatux/rescatux
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake-rescatux-and-source-code.sh
executable file
·40 lines (35 loc) · 1.32 KB
/
make-rescatux-and-source-code.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
# Rescatux make-rescatux-and-source-code script
# Copyright (C) 2012,2013,2014,2015,2016 Adrian Gibanel Lopez
#
# Rescatux 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 3 of the License, or
# (at your option) any later version.
#
# Rescatux 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 Rescatux. If not, see <http://www.gnu.org/licenses/>.
# This script assumes apt-get install live-helper has been done
# This script assumes that the user has sudo permissions on lh build
source rescatux_common_packages
IS_HYBRID=".hybrid"
MEDIA_STR="cdrom_usb_hybrid"
FILE_EXTENSION="iso"
PACKAGES="${COMMON_PACKAGES}"
BOOT_OPTION="-b iso-hybrid"
BOOTLOADERS_OPTION="syslinux,grub-efi"
LINUX_FLAVOURS="amd64:amd64 686"
ARCH="i386"
RESCATUX_STR="rescatux"
RESCATUX_MEDIA_STR="${RESCATUX_STR}_${MEDIA_STR}"
BASE_FILENAME="rescatux-$(head -n 1 VERSION)"
RESCATUX_LIVE_CONFIG_SOURCE_OPTIONS=" \
--source true \
--source-images tar \
"
source make_common