Commit 2e88960a authored by sulzbach's avatar sulzbach

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
../../scripts-available/make-initrd.sh
\ No newline at end of file
../../scripts-available/compress.sh
\ No newline at end of file
deb http://repo.c3sl.ufpr.br/le6/ ##CODENAME## main
deb-src http://repo.c3sl.ufpr.br/le6/ ##CODENAME## main
[Prevent guest modify system settings for network]
Identity=unix-user:guest-*
Action=org.freedesktop.NetworkManager.*
ResultAny=no
ResultInactive=no
ResultActive=no
ubiquity ubiquity/use_nonfree boolean true
d-i apt-setup/backports boolean false
ubiquity ubiquity/success_command \
string if [ ! -f "/target/cdrom/.disk/info" ]; then \
if ! mount --bind /cdrom /target/cdrom; then \
echo "Failed binding /cdrom in /target/cdrom!" 1>&2; \
fi; \
if [ ! -f "/target/media/cdrom" ]; then \
cd "/target/media"; \
ln --symbolic "/cdrom"; \
cd -; \
fi; \
fi; \
in-target apt-cdrom add --fast --no-mount </dev/null; \
in-target apt-get update --yes; \
in-target apt-get install --yes le-conf; \
if grep -qi "multiseat" "/etc/default/multiseat"; then \
in-target apt-get install --yes le-multiterminal; \
fi; \
umount "/target/cdrom"; \
unlink "/target/media/cdrom"; \
sed -i "/^deb cdrom:/s/^/#/" /target/etc/apt/sources.list; \
sed -i 's/enabled=.*/enabled=##APPORT##/' /target/etc/default/apport; \
in-target apt-get autoremove --yes; \
in-target apt-get clean
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
systemctl restart sysfsutils
exit 0
#
# /etc/sysfs.conf - Configuration file for setting sysfs attributes.
#
# The sysfs mount directory is automatically prepended to the attribute paths.
#
# Syntax:
# attribute = value
# mode attribute = 0600 # (any valid argument for chmod)
# owner attribute = root:wheel # (any valid argument for chown)
#
# Examples:
#
# Always use the powersave CPU frequency governor
# devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
#
# Use userspace CPU frequency governor and set initial speed
# devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace
# devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000
#
# Set permissions of suspend control file
# mode power/state = 0660
# owner power/state = root:power
devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
devices/system/cpu/cpu1/cpufreq/scaling_governor = performance
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