# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/systemd-firstboot
@{att} = /att/systemd-firstboot/
profile systemd-firstboot /{,usr/}bin/systemd-firstboot flags=(attach_disconnected,attach_disconnected.path=@{att}) {
  include <abstractions/attached/base>

  all,

  @{exec_path} mr,

  include if exists <local/systemd-firstboot>
}

# vim:syntax=apparmor
