summaryrefslogtreecommitdiff
path: root/mkosi.build
AgeCommit message (Collapse)AuthorFilesLines
2018-10-16mkosi: update the boot loader from our freshly built oneLennart Poettering1-0/+5
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-2/+0
These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering1-2/+0
This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
2018-04-19mkosi: drop dumping all test output to console againLennart Poettering1-1/+1
As it appears meson's test cases nowadays (?) show useful logs for failing tests anyway, hence there's no need to show them unconditionally in full every time anymore. Let's hence simplify and drop this.
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
2018-03-20mkosi: set file permissions in copy of source tree (#8370)Filipe Brandenburger1-0/+8
Meson keeps permissions around during the build, so details of how umask was set when cloning the original git tree will leak all the way to the installed files in the mkosi image. So reset the permissions of the files in the copy of the tree before starting the build. Also set the umask explicitly. Tested by creating a mkosi image and booting it on a tree that was cloned with a umask of 027, confirmed that the *.target files were not created as world-unreadable anymore.
2018-03-05mkosi: use locale that supports UTF-8, detect one that is available (#8340)Filipe Brandenburger1-1/+22
Using C.UTF-8 (as was done before #7244) breaks Arch Linux, but using en_US.UTF-8 (after #7244) breaks Debian in our .mkosi/mkosi.debian. So try to detect which one is available and works, first checking whether we're already running under a valid UTF-8 locale, then trying C.UTF-8 and finally en_US.UTF-8. If we fail to find a valid UTF-8 locale, then fail early, instead of letting the whole build complete only for Mesos to fail midway through the `ninja test` step. Tested on all of mkosi.fedora, mkosi.debian and mkosi.arch. Fixes: #7238
2018-02-09mkosi: no need to determine meson parameters if we don't run mesonLennart Poettering1-29/+32
Small optimization.
2017-12-25separate flags from shebangbleep_blop1-1/+2
2017-12-06mkosi.build: add code to determine the right nobody user/group nameLennart Poettering1-1/+35
2017-11-29mkosi: do not build man pagesZbigniew Jędrzejewski-Szmek1-1/+1
2017-11-25mkosi: let's switch to the unified mode for mkosiLennart Poettering1-1/+1
This is a toolconfiguration for developers, and hence most likely should be the first thing to be switched over. Do so.
2017-11-10mkosi: fix build script to use right sysvinit pathLennart Poettering1-1/+3
On Fedora /etc/init.d is a symlink to /etc/rc.d/init.d. Our build scripts default to /etc/init.d since that is the LSB default. Let's make sure the build script thus follows the symlink correctly and configures to path explicitly, since otherwise our build artifacts in $DESTDIR are incompatible with the setup we actually need for Fedora.
2017-11-07mkosi: set locale to be en_US.UTF-8 (#7244)John Lin1-1/+1
Fixes: #7238
2017-09-22mkosi: when the build fails, show its log output, and propagate errorLennart Poettering1-1/+1
2017-07-20mkosi: use '[' rather than 'test' everywhereLennart Poettering1-1/+2
2017-07-20mkosi: support mkosi's --without-tests switchLennart Poettering1-1/+1
This adds support for the mkosi switch --without-tests that is introduced by: https://github.com/systemd/mkosi/pull/122 With this in place doing "mkosi -ifT shell" is the fastest way from a git clone to a shell within a freshly compiled systemd system.
2017-07-17mkosi: make use of BUILDDIR if it is setLennart Poettering1-6/+10
This way, the new "mkosi.builddir" support proposed in PR: https://github.com/systemd/mkosi/pull/114 will be made use of automatically.
2017-05-05mkosi.build: set encodingZbigniew Jędrzejewski-Szmek1-0/+1
Otherwise python3 (via meson) complains.
2017-05-05mkosi: switch build to mesonZbigniew Jędrzejewski-Szmek1-5/+4
For Fedora, the version is bumped to 26. In F25, ninja is still called ninja-build (while the package with the rename is going through QA).
2016-12-14mkosi: change /etc/issue text a bit for mkosi images build from systemd treeLennart Poettering1-0/+8
2016-12-14mkosi: run tests when building mkosi imagesLennart Poettering1-0/+2
2016-10-06mkosi: drop git cleanZbigniew Jędrzejewski-Szmek1-1/+0
This is required after systemd/mkosi#25.
2016-07-19mkosi: make sure we fail on errorLennart Poettering1-1/+1
2016-07-15build-sys: add mkosi hookup (#3731)Lennart Poettering1-0/+26
This adds a build script and a settings file for "mkosi", a tool for putting together full, bootable disk images for container managers of EFI systems and VMs. With these files it's enough to type "mkosi" in the project directory to generate a bootable Fedora 24 OS image with a version of systemd compiled fresh from the working tree. See https://github.com/systemd/mkosi