misc: Add mkosi target for ubuntu bionic
The name of these is pretty weird.
This commit is contained in:
52
misc/mkosi/mkosi.default.ubuntu-bionic
Normal file
52
misc/mkosi/mkosi.default.ubuntu-bionic
Normal file
@@ -0,0 +1,52 @@
|
||||
[Distribution]
|
||||
Distribution=ubuntu
|
||||
Release=bionic
|
||||
Repositories=main,universe
|
||||
|
||||
[Output]
|
||||
Format=raw_btrfs
|
||||
Bootable=yes
|
||||
|
||||
# This can be a ramdisk to improve performance.
|
||||
OutputDirectory=mkosi.output
|
||||
|
||||
[Partitions]
|
||||
# 1G isn't enough for the base distros.
|
||||
RootSize=5G
|
||||
|
||||
[Packages]
|
||||
# We need to download sources from the internet.
|
||||
WithNetwork=true
|
||||
|
||||
# The packages to appear in both the build and the final image.
|
||||
Packages=
|
||||
apt
|
||||
apt-utils
|
||||
make
|
||||
git
|
||||
golang
|
||||
tree
|
||||
# The packages to appear in the build image, but absent from the final image.
|
||||
#BuildPackages=
|
||||
# apt
|
||||
# apt-utils
|
||||
# make
|
||||
# git
|
||||
# golang
|
||||
# tree
|
||||
|
||||
# Store our build artifacts here. This makes them accessible to the outside.
|
||||
BuildDirectory=mkosi.builddir
|
||||
|
||||
# Cache some of our package manager downloads.
|
||||
Cache=mkosi.cache
|
||||
|
||||
# Pull the parent git repository into the image.
|
||||
BuildSources=../..
|
||||
|
||||
# Use this transfer mode for the git sources.
|
||||
# XXX: Does auto-detect even work if BuildSources is not the current dir? Bug?
|
||||
SourceFileTransfer=copy-git-cached
|
||||
|
||||
# Skip the (second) final build phase, since we only need the build artifact.
|
||||
SkipFinalPhase=true
|
||||
Reference in New Issue
Block a user