Use additional flags to build calamares

Make sure we ship our own settings.conf
ubuntu/focal
Rohan Garg 10 years ago
parent bc9e4c7112
commit 687175f3cc

@ -0,0 +1,2 @@
usr/*
debian/settings.conf /etc/calamares/

3
debian/control vendored

@ -19,7 +19,8 @@ Build-Depends: debhelper (>= 9), cmake,
gettext, gettext,
libyaml-cpp-dev, libyaml-cpp-dev,
pkg-config, pkg-config,
libatasmart-dev libatasmart-dev,
pkg-kde-tools
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Homepage: https://github.com/calamares/calamares Homepage: https://github.com/calamares/calamares
Vcs-Git: https://github.com/calamares/calamares-debian.git Vcs-Git: https://github.com/calamares/calamares-debian.git

25
debian/rules vendored

@ -1,26 +1,7 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# main packaging script based on dh7 syntax
%: %:
dh $@ --dbg-package=calamares-dbg dh $@ --dbg-package=calamares-dbg --with kf5
override_dh_auto_configure:
dh_auto_configure -- -DWITH_PARTITIONMANAGER=1

@ -0,0 +1,65 @@
# Configuration file for Calamares
# Syntax is YAML 1.2
---
# Modules can be job modules (with different interfaces) and QtWidgets view modules.
# They could all be placed in a number of different paths.
# "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules
modules-search: [ local, /path/to/dir/with/more/modules ]
# We define the module names in the order they should show up (QtWidget view modules,
# with one or more pages) OR be executed if enqueued (all other modules).
# Pages can also enqueue jobs for delayed execution in the order specified for the
# install phase.
# 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.
prepare:
- greeting
- locale
- keyboard
- prepare
- 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.
install:
#- dummyprocess
#- dummypython
- partition
- mount
- unpackfs
- fstab
- locale
- keyboard
# Not required for Debian
#- initcpiocfg
#- initcpio
- users
- networkcfg
- hwclock
- services
- grubcfg
- grub
- 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.
postinstall: #TODO: actually use this
- 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: default
Loading…
Cancel
Save