armbian-build/lib/functions/rootfs/rootfs-desktop.sh
Igor Pecovnik 4d60ce08f2 chore: update copyright years to 2026
Update all copyright notices in shell scripts from 2025 to 2026.

## Changes

- **Igor Pecovnik**: 2013-2025 → 2013-2026 (129 files)
- **Ricardo Pardini**: 2023-2025 → 2023-2026, 2020-2025 → 2020-2026 (5 files)

## Additional Improvements

Also updated the backtitle in `lib/functions/configuration/interactive.sh`:
- Changed title from "Armbian building script" to "Armbian Linux build framework"
- Removed docs link for cleaner display
- Uses dynamic year calculation with separate declaration (fixes shellcheck SC2155)
2025-12-25 12:03:34 +01:00

34 lines
1.1 KiB
Bash

#!/usr/bin/env bash
#
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2013-2026 Igor Pecovnik, igor@armbian.com
#
# This file is a part of the Armbian Build Framework
# https://github.com/armbian/build/
# a-kind-of-hook, called by install_distribution_agnostic() if it's a desktop build
function desktop_postinstall() {
# disable display manager for the first run
disable_systemd_service_sdcard lightdm.service
disable_systemd_service_sdcard gdm3.service
disable_systemd_service_sdcard sddm.service
# @TODO: why?
display_alert "Updating package lists" "for desktop" "info"
do_with_retries 3 chroot_sdcard_apt_get_update
# @TODO: rpardini: this is... missing from aggregation...? it is used by 2 boards.
# install per board packages, desktop-only, packages.
if [[ -n ${PACKAGE_LIST_DESKTOP_BOARD} ]]; then
chroot_sdcard_apt_get_install "$PACKAGE_LIST_DESKTOP_BOARD"
fi
# install per family packages (desktop only)
if [[ -n ${PACKAGE_LIST_DESKTOP_FAMILY} ]]; then # @TODO: used by 0 boards
chroot_sdcard_apt_get_install "$PACKAGE_LIST_DESKTOP_FAMILY"
fi
}