Commit 2e88960a authored by sulzbach's avatar sulzbach
Browse files

Temporary commit

parent 76192dc8
Pipeline #17932 passed with stage
in 11 seconds
NAME="Linux Educacional Netbook"
WEBSITE="https://linuxeducacional.c3sl.ufpr.br"
ISOURL="http://cdimage.ubuntu.com/ubuntu-gnome/releases/16.04/release"
KEYURL="http://repo.c3sl.ufpr.br/le6/le.c3sl.ufpr.br.key"
......@@ -2,4 +2,4 @@ NAME="Linux Educacional"
WEBSITE="https://linuxeducacional.c3sl.ufpr.br"
ISOURL="http://cdimage.ubuntu.com/ubuntu-gnome/releases/16.04/release"
KEYURL="http://repo.c3sl.ufpr.br/le6/le.c3sl.ufpr.br.key"
WEEK=1
WEEK=0
......@@ -126,7 +126,6 @@ mkdir --parents "${CACHEDIR}"
find="$(find "${CACHEDIR}" -mindepth 1 -maxdepth 1 -type d | sort --numeric)"
if [[ -z "${find}" ]]; then
[[ -z "${_INPUT}" ]] && _INPUT="$(setupISO "${ISODIR}" "${ISOURL}")"
createIsoLogger -m "_INPUT: ${_INPUT}" -t d
conditionalMount "${_INPUT}" "${PREFIX}/isobase" iso9660 ro,loop
# TODO: Mount iso in place
mkdir --parents "${TMP}/lower"
......@@ -163,7 +162,6 @@ mkdir --parents "${workdir}"
conditionalMount overlay "${CHROOTDIR}" overlay \
"rw,lowerdir=${lowerdir},upperdir=${upperdir},workdir=${workdir}"
# TODO: Organize variables
# Each one of the available scripts is executed in numeric order
for script in "${SCRIPTSDIR}"/*; do
if [[ -x "${script}" ]] && grep -E --quiet '^[0-9]{2}-[A-Za-z]+' \
......@@ -193,6 +191,8 @@ for script in "${SCRIPTSDIR}"/*; do
# changes in the overlaid chroot filesystem, therefore, the
# 'chroot script', filled with the required commands by the marked
# script, is executed
[[ "$(basename "${script}")" =~ [0-9]+\-chroot\.install\-le\.sh ]] \
&& createIsoLogger -m "Breakpoint" -t d
initChroot "${CHROOTDIR}"
execChroot "${CHROOTDIR}"
closeChroot "${CHROOTDIR}"
......
......@@ -26,6 +26,7 @@ initChroot() {
# Create the log file; this file will be bind to appear in "${VARLOG}"
# directory in the target machine that generates the iso.
mkdir --parents "${chrootdir}/$(dirname "${LOG_FILE}")"
touch "${chrootdir}/${LOG_FILE}"
touch "${LOG_FILE}"
......
ubuntu-standard
laptop-detect
dbus
wget
le-live-all
le-all
le-laptop-controlpanel
audacity
geogebra
scratch
tuxpaint
openshot
gimp
openssh-server
sysfsutils
cron-apt
linux-generic-hwe-16.04
xserver-xorg-hwe-16.04
le-live-all
ubiquity
ubiquity-frontend-gtk
ubiquity-frontend-kde
casper
lupin-casper
user-setup
discover
libdebian-installer4
le-ubiquity-slideshow
le-control-panel
\ No newline at end of file
le-conf
le-multiterminal
#!/usr/bin/env bash
# shellcheck disable=SC1090
#
# Copyright (C) 2017 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of create-iso
#
# create-iso 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.
#
# 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 this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
PROFILE="$1"
# NAME="$2"
# WEBSITE="$3"
# TMP="$4"
CHROOTDIR="$5"
# CACHEDIR="$6"
# PKGLIST="$7"
# SOURCESLIST="$8"
# REPO="$9"
# KEYURL="${10}"
# DEBUG="${11}"
PREFIX="${PWD}"
type createIsoLogger >/dev/null 2>&1 || source "${PREFIX}/include/logging.sh"
cp "${PREFIX}/src/${PROFILE}/sysfs.conf" "${CHROOTDIR}/etc"
cp "${PREFIX}/src/${PROFILE}/rc.local" "${CHROOTDIR}/etc"
cp "${PREFIX}/src/${PROFILE}/10-network-manager.pkla" \
"${CHROOTDIR}/etc/polkit-1/localauthority/50-local.d/"
sed --in-place "s/_status enabled/_status disabled/" \
"${CHROOTDIR}/etc/le-lab/services/epoptes" || createIsoLogger --message \
"Unable to disable epoptes"
\ No newline at end of file
../../scripts-available/install-dependencies.sh
\ No newline at end of file
../../scripts-available/update-sourceslist.sh
\ No newline at end of file
../../scripts-available/install.sh
\ No newline at end of file
../../scripts-available/remove.sh
\ No newline at end of file
../../scripts-available/setup.sh
\ No newline at end of file
../../scripts-available/le6-netbooks/setup.sh
\ No newline at end of file
../../scripts-available/pre-local-repo.sh
\ No newline at end of file
../../scripts-available/local-repo.sh
\ No newline at end of file
../../scripts-available/pre-manifest.sh
\ No newline at end of file
../../scripts-available/manifest.sh
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment