- Jul 02, 2020
-
-
Ludovico de Nittis authored
This gives us a way to drop in configuration changes (in particular apt pinning preferences) as soon as possible after the debootstrap run, allowing non-default pinning to be used to install the extra packages for the Platform and SDK. Please note that `$keyringpackage`, and the automatic installation of `apt-transport-https`, have been removed because this new option can be considered a generalization of both of them. So if your suite needs `apt-transport-https`, or if you were using `$keyringpackage`, list the needed packages with the `additional_base_packages` option instead. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Mar 23, 2020
-
-
Simon McVittie authored
Fix Built-Using handling See merge request smcv/flatdeb!8
-
Simon McVittie authored
If we can't parse these fields, we want to fail noisily so that the error can be diagnosed. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This field records binary packages that statically link or otherwise embed parts of other source packages, so that we can make sure we have complete source code for the embedded or statically linked source package. Collecting it previously didn't work due to logic errors. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Mar 05, 2020
-
-
Simon McVittie authored
apps: Add strip_source_version_suffix support See merge request smcv/flatdeb!2
-
- Mar 02, 2020
-
-
Frédéric Danis authored
This is necessary for packages that were built in OBS which adds a suffix, but the source isn't kept, and is identical to the base version except for debian/changelog. This is already done for runtimes. The same `strip_source_version_suffix` variable is used for both runtimes and apps. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
Frédéric Danis authored
Extract giant shell command line used to retrieve source code of the application and its dependencies, and convert it to Pyhton3. This change requests that the SDK embeds Pyhton3 to be able to use `./run.py app` subcommand. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Feb 28, 2020
-
-
Simon McVittie authored
Previously, we lost this as a side-effect of using aptitude to mark everything non-Essential as "automatically installed". There is no point in having apt-transport-https but not apt. In newer versions of apt, where apt-transport-https is a transitional package, this will have no practical effect. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Feb 26, 2020
-
-
Simon McVittie authored
apps: Allow to use remote repository for runtime See merge request smcv/flatdeb!5
-
Frédéric Danis authored
The remote-url allows to set a remote url instead of a local directory to use for Platform and SDK runtime. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Feb 10, 2020
-
-
Simon McVittie authored
Fix systemd-nspawn error when running in gitlab CI See merge request smcv/flatdeb!6
-
Simon McVittie authored
Add dpkg-dev dependency See merge request smcv/flatdeb!7
-
Ludovico de Nittis authored
Flatdeb uses "dpkg-architecture" that is part of "dpkg-dev" Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 28, 2020
-
-
Frédéric Danis authored
When running in gitlab CI with docker the following error may occur: Failed to register machine: Unit machine-root.scope already exists. We only use systemd-nspawn for temporary containers which are not intended to be used interactively, so it is not useful for them to be listed by machined. Registering with machined can also be harmful: because our root directory is named `root`, if two concurrent flatdeb instances communicate with the same machined instance, the second one will try to use the same name as the first and so will fail to register, causing flatdeb to fail. This can be avoided by preventing the systemd-nspawn container from registering with machined (which is supported since systemd v209). Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Jan 27, 2020
-
-
Simon McVittie authored
Remove dependencies to Aptitude and add pre_apt_script See merge request smcv/flatdeb!3
-
Simon McVittie authored
platformize: Fix systemd-nspawn error when running in gitlab CI See merge request smcv/flatdeb!4
-
- Jan 24, 2020
-
-
Frédéric Danis authored
This allows to perform actions before 'apt action' run. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
Frédéric Danis authored
prepare-runtime specific code can be done in a pre_apt_script. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
Frédéric Danis authored
When running in gitlab CI with docker the following error may occur: platformize | Failed to register machine: Unit machine-root.scope already exists. We only use systemd-nspawn for temporary containers which are not intended to be used interactively, so it is not useful for them to be listed by machined. Registering with machined can also be harmful: because our root directory is named `root`, if two concurrent flatdeb instances communicate with the same machined instance, the second one will try to use the same name as the first and so will fail to register, causing flatdeb to fail. This can be avoided by preventing the systemd-nspawn container from registering with machined (which is supported since systemd v209). Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Jan 21, 2020
-
-
Simon McVittie authored
Fix script execution when bash is not available See merge request smcv/flatdeb!1
-
Frédéric Danis authored
For runtimes where bash is not available put-ld-config-path and symlink-alternatives fail with error: put-ldconfig-in-path | sh: 1: /tmp/script/put-ldconfig-in-path: not found Running those script from outside of chroot fixes it. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Nov 28, 2019
-
-
Simon McVittie authored
Ubuntu 12.04 somehow has libnss3-dbgsym and libnspr4-dbgsym packages that are Multi-Arch: no, even though their corresponding libraries are Multi-Arch: same. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 25, 2019
-
-
Simon McVittie authored
If we have (for example) 400 -dbgsym packages to install, invoking apt 400 times is rather slow due to startup overhead (locking, reading and updating the database). Instead, invoke apt-cache once to find out what is available, and use that to compose a single very large apt-get command-line. Similarly, we can summarize what was and wasn't installed from the information we already have, without having to invoke apt a lot. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 08, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 07, 2019
-
-
Simon McVittie authored
This can be useful for (derivatives of) older Debian suites like jessie, which don't have automatic debug symbols. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 03, 2019
-
-
Simon McVittie authored
This reduces the need to have a giant metapackage with all the shared libraries' detached debug symbols; now we only need to do that for libraries that are still using legacy debug symbols (foo-dbg). This also means we tolerate transient uninstallability for debug symbols: we'll simply produce a runtime without those debug symbols. This is particularly important when taking binaries from debian-security, which does not have a corresponding debug symbols archive (although when security updates get mirrored into proposed-updates, their detached debug symbols do appear there). Finally, it also means we don't run into problems with version skew between debug symbols and the actual libraries, particularly when adding buster-proposed-updates-debug (which, in general, will be strictly newer than buster + buster-security) in the hope of getting detached debug symbols for buster-security. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 02, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 19, 2019
-
-
Simon McVittie authored
It's rather out of place there. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This hasn't actually worked since I switched to using debos, and doesn't seem to have been necessary. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The only Ubuntu precise derivative I'm interested in is now self-contained, so flatdeb doesn't need to be able to debootstrap from precise any more. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In some older suites, building packages will fail in a merged-/usr chroot (#843073). Building packages in a merged-/usr chroot is also, in general, not guaranteed to result in binaries that work correctly in an unmerged-/usr environment, so we should probably prefer to build a more traditional sysroot. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 22, 2019
-
-
Simon McVittie authored
This should speed up packing and rsync'ing of the sysroot and base tarballs. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-