Commit ef219c29 authored by Jonathan Carter's avatar Jonathan Carter

Initial release

parents
misc:Depends=
misc:Pre-Depends=
/etc/calamares/bootloader-eficonfig/module.desc
/etc/calamares/branding/debian/branding.desc
/etc/calamares/branding/debian/debian-logo.png
/etc/calamares/branding/debian/show.qml
/etc/calamares/branding/debian/slide1.png
/etc/calamares/branding/debian/welcome.png
/etc/calamares/modules/finished.conf
/etc/calamares/modules/packages.conf
/etc/calamares/modules/unpackfs.conf
/etc/calamares/modules/users.conf
/etc/calamares/modules/welcome.conf
/etc/calamares/mount-media-chroot/module.desc
/etc/calamares/settings.conf
/etc/calamares/sources-final/module.desc
/etc/calamares/sources-installtime/module.desc
/etc/calamares/unmount-media-chroot/module.desc
Package: calamares-settings-debian
Version: 9.0-1
Architecture: all
Maintainer: Jonathan Carter <jcarter@linux.com>
Installed-Size: 243
Depends: calamares
Provides: calamares-settings
Section: utils
Priority: optional
Homepage: https://gitlab.com/highvoltage/calamares-settings-debian
Description: Debian theme and settings for the Calamares Installer
Calamares is a genereic installer framework for Linux distributions.
By default, it contains a set of boilerplate wording and images. This
package provides the latest Debian artwork as well as scripts that
supports EFI installations.
.
It also serves as an example for how derivatives can create their own
calamares-settings packages.
56560642d9d9406de52c3b436f4bfae8 usr/sbin/bootloader-eficonfig
650bbb048010c5442d35312196551e0e usr/sbin/mount-media-chroot
7cc9e7f3399c7f6d6d416f6135745a27 usr/sbin/sources-final
3141e03f31006b0c9e33bbc312eebb8f usr/sbin/sources-installtime
ab3179cb9bcb22bc1dd60dfdbabbf3de usr/sbin/unmount-media-chroot
657e2d6b596c6ef26cab24910dae205d usr/share/doc/calamares-settings-debian/changelog.Debian.gz
204af9b3bb24174e57f1d93cf758ac7c usr/share/doc/calamares-settings-debian/copyright
---
type: "job"
name: "bootloader-eficonfig"
interface: "process"
command: "/usr/sbin/bootloader-eficonfig"
timeout: 600
---
componentName: debian
strings:
productName: Debian GNU/Linux
shortProductName: Debian GNU/Linux
version: 9
shortVersion: 9
versionedName: Debian GNU/Linux
shortVersionedName: Debian GNU/Linux 9
bootloaderEntryName: Debian GNU/Linux
productUrl: https://debian.org
supportUrl: https://www.debian.org/support
releaseNotesUrl: https://www.debian.org/releases/stretch/releasenotes
images:
productLogo: "debian-logo.png"
productIcon: "debian-logo.png"
productWelcome: "welcome.png"
slideshow: "show.qml"
style:
sidebarBackground: "#2c3133"
sidebarText: "#FFFFFF"
sidebarTextSelect: "#4d7079"
/* === This file is part of Calamares - <http://github.com/calamares> ===
*
* Copyright 2015, Teo Mrnjavac <teo@kde.org>
*
* Calamares 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, ei[\chm-
* (at your option) any later version.
*
* Calamares 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 Calamares. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0;
import calamares.slideshow 1.0;
Presentation
{
id: presentation
Timer {
interval: 20000
repeat: true
onTriggered: presentation.goToNextSlide()
}
Slide {
Image {
id: background1
source: "slide1.png"
width: 467; height: 280
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
anchors.top: background1.bottom
text: "Welcome to Debian GNU/Linux.<br/>"+
"The rest of the installation is automated and typically takes a few minutes to complete."
wrapMode: Text.WordWrap
width: 600
horizontalAlignment: Text.Center
}
}
}
---
restartNowEnabled: true
restartNowChecked: true
restartNowCommand: "systemctl -i reboot"
backend: apt
operations:
- remove:
- calamares
- '^live-*'
---
unpack:
- source: "/lib/live/mount/medium/live/filesystem.squashfs"
sourcefs: "squashfs"
destination: ""
---
userGroup: users
defaultGroups:
- cdrom
- floppy
- sudo
- audio
- dip
- video
- plugdev
- netdev
- lpadmin
- scanner
- bluetooth
autologinGroup: autologin
sudoersGroup: sudo
setRootPassword: false
---
showSupportUrl: true
showKnownIssuesUrl: true
showReleaseNotesUrl: true
requirements:
requiredStorage: 5.5
requiredRam: 1.0
check:
- storage
- ram
- power
- internet
- root
required:
- storage
- ram
- root
---
type: "job"
name: "mount-media-chroot"
interface: "process"
command: "/usr/sbin/mount-media-chroot"
chroot: false
# Configuration file for Calamares
# Syntax is YAML 1.2
---
# "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules
modules-search: [ local ]
sequence:
# Phase 1 - prepare.
# View modules are shown as UI pages, jobs from job modules
# are executed immediately in the background.
# Jobs should be executed sparingly (if at all) in this phase.
- show:
- welcome
- locale
- keyboard
- partition
- users
- summary
# Phase 2 - install.
# View modules are not shown. Only the view modules shown
# in the previous phase are allowed, their names should be
# added here as placeholders to specify the order in which
# view module jobs should be enqueued. Job modules are
# also allowed.
- exec:
- partition
- mount
- unpackfs
- mount-media-chroot
- sources-installtime
- machineid
- fstab
- locale
- keyboard
# TODO:
# - bootloader-eficonfig
- localecfg
- users
- networkcfg
- hwclock
- services
- grubcfg
- bootloader
- unmount-media-chroot
- sources-final
- packages
- initramfs
- umount
# Phase 3 - postinstall.
# View modules are shown as UI pages, jobs from job modules are
# executed immediately in the background.
# Jobs should be executed sparingly (if at all) in this phase.
- show:
- finished
# A branding component is a directory, either in
# SHARE/calamares/branding or in /etc/calamares/branding
# (the latter takes precedence). The directory must contain a
# YAML file branding.desc which may reference additional resources
# (such as images) as paths relative to the current directory.
# Only the name of the branding component (directory) should be
# specified here, Calamares then takes care of finding it and
# loading the contents.
branding: debian
---
type: "job"
name: "sources-final"
interface: "process"
command: "/usr/sbin/sources-final"
---
type: "job"
name: "sources-installtime"
interface: "process"
command: "/usr/sbin/sources-installtime"
---
type: "job"
name: "unmount-media-chroot"
interface: "process"
command: "/usr/sbin/unmount-media-chroot"
chroot: false
#!/bin/bash
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Replacing grub-pc with grub-efi..."
# grub-probe doesn't work in a chroot...
mv $CHROOT/usr/sbin/grub-probe $CHROOT/usr/sbin/grub-probe.bak
echo "exit 0" > $CHROOT/usr/sbin/grub-probe
chmod +x $CHROOT/usr/sbin/grub-probe
chroot $CHROOT apt-get --allow-unauthenticated -y install grub-efi
mv -f $CHROOT/usr/sbin/grub-probe.bak $CHROOT/usr/sbin/grub-probe
fi
#!/bin/bash
# This script runs on the live media, ie. outside of the chroot environment.
# debian-live ensures that this is always at the same place, so we can just bind-mount it
MEDIA="/lib/live/mount/medium"
# More tricky, we need to figure out where calamares left us the chroot.
# This seems to work reliably in all tested cases.
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
mkdir -p $CHROOT/media/installer
mount --bind $MEDIA $CHROOT/media/installer
#!/bin/bash
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
cat <<EOF > $CHROOT/etc/apt/sources.list
# Debian
deb http://deb.debian.org/debian stretch main
deb-src http://http.debian.net/debian stretch main
deb http://deb.debian.org/debian-security stretch-updates
deb-src http://deb.debian.org/debian-security stretch-updates
EOF
#!/bin/bash
# Note: relies on installation media being mounted on /media/usb
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
/bin/echo "#Installer" > $CHROOT/etc/apt/sources.list
/bin/echo "deb file:///media/installer stretch main" >> $CHROOT/etc/apt/sources.list
chroot $CHROOT /usr/bin/apt-get update
exit 0
#!/bin/bash
# This script runs on the live media, ie. outside of the chroot environment.
# debian-live ensures that this is always at the same place, so we can just bind-mount it
MEDIA="/lib/live/mount/medium"
# More tricky, we need to figure out where calamares left us the chroot.
# This seems to work reliably in all tested cases.
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
umount -l $CHROOT/media/installer
rmdir $CHROOT/media/installer
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: calamares-settings-debian
Source: https://gitlab.com/highvoltage/calamares-settings-debian
Files: *
Copyright: 2016, Jonathan Carter <jcarter@linux.com>
License: ISC
Files: debian/*
Copyright: 2016 Jonathan Carter <jcarter@linux.com>
License: ISC
License: ISC
ISC License
.
Copyright (c) 2016, Jonathan Carter <jonathan@bluemosh.com>
.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
calamares-settings-debian (9.0-1) unstable; urgency=medium
* Initial release (Closes: #847766)
-- Jonathan Carter <jcarter@linux.com> Mon, 12 Dec 2016 10:03:21 +0200
Source: calamares-settings-debian
Section: utils
Priority: optional
Maintainer: Jonathan Carter <jcarter@linux.com>
Build-Depends: debhelper (>= 10)
Standards-Version: 3.9.8
Homepage: https://gitlab.com/highvoltage/calamares-settings-debian
Vcs-Git: https://gitlab.com/highvoltage/calamares-settings-debian-packaging.git
Vcs-Browser: https://gitlab.com/highvoltage/calamares-settings-debian-packaging/tree/master
Package: calamares-settings-debian
Architecture: all
Depends: ${misc:Depends}, calamares
Provides: calamares-settings
Description: Debian theme and settings for the Calamares Installer
Calamares is a genereic installer framework for Linux distributions.
By default, it contains a set of boilerplate wording and images. This
package provides the latest Debian artwork as well as scripts that
supports EFI installations.
.
It also serves as an example for how derivatives can create their own
calamares-settings packages.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: calamares-settings-debian
Source: https://gitlab.com/highvoltage/calamares-settings-debian
Files: *
Copyright: 2016, Jonathan Carter <jcarter@linux.com>
License: ISC
Files: debian/*
Copyright: 2016 Jonathan Carter <jcarter@linux.com>
License: ISC
License: ISC
ISC License
.
Copyright (c) 2016, Jonathan Carter <jonathan@bluemosh.com>
.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
calamares-settings-debian
calamares-settings-debian_9.0-1_all.deb utils optional
calamares-settings-debian_9.0-1_amd64.buildinfo utils optional
calamares etc
scripts/* usr/sbin
#!/usr/bin/make -f
%:
dh $@
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