Skip to content

Commit

Permalink
mkosi: dev-debian: Initial image
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Jan 6, 2025
1 parent 5fd99b5 commit c221c41
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fish/functions/mkosi_bld.fish
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ function mkosi_bld -d "Build a distribution using mkosi"
switch (basename $directory)
case dev-arch
set cache_dir pacman
case dev-debian pgo-llvm-builder
set cache_dir apt
case dev-fedora
set cache_dir dnf
case pgo-llvm-builder
set cache_dir apt
end

sudo (command -v mkosi) \
Expand Down
16 changes: 16 additions & 0 deletions mkosi/dev-debian/mkosi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Build]
WithNetwork=true

[Content]
Bootable=false
# base
Packages=build-essential

[Distribution]
Distribution=debian
Release=unstable

[Output]
Format=directory
ImageId=dev-debian
OutputDirectory=/var/lib/machines

0 comments on commit c221c41

Please sign in to comment.