From 57b3c458320219e9d12b8641f682eaeddd616cc5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2015 05:17:52 +0100 Subject: less patching is good patching, disable patching of calamares modules configuration && create a sepparate package instead --- .../files/modules/bootloader.conf | 26 +++++++++++++ .../files/modules/keyboard.conf | 8 ++++ .../files/modules/packages.conf | 45 ++++++++++++++++++++++ .../files/modules/removeuser.conf | 2 + .../files/modules/unpackfs.conf | 5 +++ 5 files changed, 86 insertions(+) create mode 100644 app-misc/calamares-config-kogaion/files/modules/bootloader.conf create mode 100644 app-misc/calamares-config-kogaion/files/modules/keyboard.conf create mode 100644 app-misc/calamares-config-kogaion/files/modules/packages.conf create mode 100644 app-misc/calamares-config-kogaion/files/modules/removeuser.conf create mode 100644 app-misc/calamares-config-kogaion/files/modules/unpackfs.conf (limited to 'app-misc/calamares-config-kogaion/files/modules') diff --git a/app-misc/calamares-config-kogaion/files/modules/bootloader.conf b/app-misc/calamares-config-kogaion/files/modules/bootloader.conf new file mode 100644 index 00000000..8ee8e661 --- /dev/null +++ b/app-misc/calamares-config-kogaion/files/modules/bootloader.conf @@ -0,0 +1,26 @@ +--- +# Define which bootloader you want to use for EFI installations +# Possible options are 'grub' and 'systemd-boot'. +efiBootLoader: "grub" + +# systemd-boot configuration files settings, set kernel and initramfs file names +# and amount of time before default selection boots +kernel: "/boot/bzImage" +img: "/boot/Initrd" +timeout: "10" +# Optionally set the menu entry name and kernel name to use in systemd-boot. +# If not specified here, these settings will be taken from branding.desc. +# bootloaderEntryName: "Generic GNU/Linux" +# kernelLine: ", with Stable-Kernel" +# fallbackKernelLine: ", with Stable-Kernel (fallback initramfs)" + +# GRUB 2 binary names and boot directory +# Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names. +grubInstall: "grub2-install" +grubMkconfig: "grub2-mkconfig" +grubCfg: "/boot/grub/grub.cfg" +# Optionally set the --bootloader-id to use for EFI. If not set, this defaults +# to the bootloaderEntryName from branding.desc with problematic characters +# replaced. If an efiBootloaderId is specified here, it is taken to already be a +# valid directory name, so no such postprocessing is done in this case. +# efiBootloaderId: "dirname" diff --git a/app-misc/calamares-config-kogaion/files/modules/keyboard.conf b/app-misc/calamares-config-kogaion/files/modules/keyboard.conf new file mode 100644 index 00000000..ff60ed60 --- /dev/null +++ b/app-misc/calamares-config-kogaion/files/modules/keyboard.conf @@ -0,0 +1,8 @@ +--- +# The name of the file to write X11 keyboard settings to +# The default value is the name used by upstream systemd-localed. +# Relative paths are assumed to be relative to /etc/X11/xorg.conf.d +xOrgConfFileName: "/usr/share/X11/xorg.conf.d/00-keyboard.conf" +# The path to search for keymaps converted from X11 to kbd format +# Leave this empty if the setting does not make sense on your distribution. +convertedKeymapPath: "/usr/share/keymaps/" diff --git a/app-misc/calamares-config-kogaion/files/modules/packages.conf b/app-misc/calamares-config-kogaion/files/modules/packages.conf new file mode 100644 index 00000000..f8c72ad0 --- /dev/null +++ b/app-misc/calamares-config-kogaion/files/modules/packages.conf @@ -0,0 +1,45 @@ +--- +# +# Which package manager to use, options are: +# - packagekit - PackageKit CLI tool +# - zypp - Zypp RPM frontend +# - yum - Yum RPM frontend +# - dnf - DNF, the new RPM frontend +# - urpmi - Mandriva package manager +# - apt - APT frontend for DEB and RPM +# - pacman - Pacman +# - portage - Gentoo package manager +# - entropy - Sabayon package manager +# +backend: entropy +# +# List of maps with package operations such as install or remove. +# Distro developers can provide a list of packages to remove +# from the installed system (for instance packages meant only +# for the live system). +# +# A job implementing a distro specific logic to determine other +# packages that need to be installed or removed can run before +# this one. Distro developers may want to install locale packages +# or remove drivers not needed on the installed system. +# This job will populate a list of dictionaries in the global +# storage called "packageOperations" and it is processed +# after the static list in the job configuration. +# +#operations: +# - install: +# - pkg1 +# - pkg2 +# - remove: +# - pkg3 +# - pkg4 +# - install: +# - pkg5 +# - remove: +# - pkg2 +# - pkg1 +# install: +# - pkgs6 +# - pkg7 +# - localInstall: +# - /path/to/pkg8 diff --git a/app-misc/calamares-config-kogaion/files/modules/removeuser.conf b/app-misc/calamares-config-kogaion/files/modules/removeuser.conf new file mode 100644 index 00000000..748822da --- /dev/null +++ b/app-misc/calamares-config-kogaion/files/modules/removeuser.conf @@ -0,0 +1,2 @@ +--- +username: kogaionuser diff --git a/app-misc/calamares-config-kogaion/files/modules/unpackfs.conf b/app-misc/calamares-config-kogaion/files/modules/unpackfs.conf new file mode 100644 index 00000000..641f5ae0 --- /dev/null +++ b/app-misc/calamares-config-kogaion/files/modules/unpackfs.conf @@ -0,0 +1,5 @@ +--- +unpack: + - source: "/mnt/cdrom/livecd.squashfs" + sourcefs: "squashfs" + destination: "" -- cgit v1.2.3