mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-28 22:05:09 +01:00
aae36aa4e0
Some checks are pending
Ubuntu / check (push) Waiting to run
Ubuntu / build (default, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (default, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / tests (push) Blocked by required conditions
27 lines
614 B
Makefile
27 lines
614 B
Makefile
#!/usr/bin/make -f
|
|
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
# Usage:
|
|
# make archlinux flavor=gnome
|
|
# vagrant up arch-gnome
|
|
# vagrant ssh archl-gnome
|
|
|
|
# Build variables
|
|
flavor ?=
|
|
disk ?= 10G
|
|
|
|
BASE = archlinux debian ubuntu22 ubuntu24 opensuse fedora
|
|
|
|
.PHONY: ${BASE} lint
|
|
|
|
$(BASE):
|
|
@make --directory=../ package dist=${@}
|
|
@packer build -force \
|
|
-var disk_size=${disk} -var flavor="${flavor}" \
|
|
-only=qemu.${@} packer/
|
|
|
|
lint:
|
|
@packer fmt --check packer/
|
|
@packer validate --syntax-only packer/
|