From 3db2ca87cc96d260e1ce7b6a4cd279b4355831b0 Mon Sep 17 00:00:00 2001 From: Amir Husayn Panahifar Date: Sun, 18 Oct 2026 16:42:28 +0330 Subject: [PATCH] branding: add Parch image assets and configuration --- branding/etc/issue_parch | 1 + branding/etc/locale.conf | 1 + branding/etc/lsb-release_parch | 3 +++ branding/etc/os-release_parch | 12 ++++++++++ branding/etc/pacman.conf | 22 +++++++++++++++++++ .../etc/pacman.d/hooks/60-parch-branding.hook | 12 ++++++++++ branding/etc/pacman.d/parch-mirrors | 1 + branding/usr/lib/os-release_parch | 12 ++++++++++ .../usr/share/pixmaps/parch-logo-dark.svg | 7 ++++++ branding/usr/share/pixmaps/parch-logo.svg | 7 ++++++ 10 files changed, 78 insertions(+) create mode 100644 branding/etc/issue_parch create mode 100644 branding/etc/locale.conf create mode 100644 branding/etc/lsb-release_parch create mode 100644 branding/etc/os-release_parch create mode 100644 branding/etc/pacman.conf create mode 100644 branding/etc/pacman.d/hooks/60-parch-branding.hook create mode 100644 branding/etc/pacman.d/parch-mirrors create mode 100644 branding/usr/lib/os-release_parch create mode 100644 branding/usr/share/pixmaps/parch-logo-dark.svg create mode 100644 branding/usr/share/pixmaps/parch-logo.svg diff --git a/branding/etc/issue_parch b/branding/etc/issue_parch new file mode 100644 index 0000000..ac2b4cc --- /dev/null +++ b/branding/etc/issue_parch @@ -0,0 +1 @@ +Parchlinux \r (\l) diff --git a/branding/etc/locale.conf b/branding/etc/locale.conf new file mode 100644 index 0000000..f9c983c --- /dev/null +++ b/branding/etc/locale.conf @@ -0,0 +1 @@ +LANG=C.UTF-8 diff --git a/branding/etc/lsb-release_parch b/branding/etc/lsb-release_parch new file mode 100644 index 0000000..841b328 --- /dev/null +++ b/branding/etc/lsb-release_parch @@ -0,0 +1,3 @@ +DISTRIB_ID="Parch" +DISTRIB_RELEASE="rolling" +DISTRIB_DESCRIPTION="Parch Linux" diff --git a/branding/etc/os-release_parch b/branding/etc/os-release_parch new file mode 100644 index 0000000..4d28b0c --- /dev/null +++ b/branding/etc/os-release_parch @@ -0,0 +1,12 @@ +NAME="Parch Linux" +PRETTY_NAME="Parch Linux" +ID=parch +BUILD_ID=rolling +HOME_URL="https://parchlinux.com" +DOCUMENTATION_URL="https://wiki.parchlinux.com/en/" +SUPPORT_URL="https://forum.parchlinux.com" +BUG_REPORT_URL="https://forum.parchlinux.com" +LOGO=parch-logo +VARIANT="Virtual Machine" +VARIANT_ID=vm +ANSI_COLOR="0;35" diff --git a/branding/etc/pacman.conf b/branding/etc/pacman.conf new file mode 100644 index 0000000..347c822 --- /dev/null +++ b/branding/etc/pacman.conf @@ -0,0 +1,22 @@ +[options] +HoldPkg = pacman glibc +Architecture = auto + +Color +CheckSpace +ParallelDownloads = 5 +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional + +[world] +SigLevel = Never +Include = /etc/pacman.d/parch-mirrors + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[multilib] +#Include = /etc/pacman.d/mirrorlist diff --git a/branding/etc/pacman.d/hooks/60-parch-branding.hook b/branding/etc/pacman.d/hooks/60-parch-branding.hook new file mode 100644 index 0000000..f52e29b --- /dev/null +++ b/branding/etc/pacman.d/hooks/60-parch-branding.hook @@ -0,0 +1,12 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = parch-branding + +[Action] +Description = Applying Parch Linux virtual machine branding... +When = PostTransaction +Depends = parch-branding +Depends = coreutils +Exec = /bin/sh -c "install -m644 /usr/local/share/parch-branding/os-release /usr/lib/os-release && install -m644 /usr/local/share/parch-branding/issue /etc/issue && install -m644 /usr/local/share/parch-branding/lsb-release /etc/lsb-release && install -m644 /usr/local/share/parch-branding/pixmaps/parch-logo.svg /usr/share/pixmaps/parch-logo.svg && install -m644 /usr/local/share/parch-branding/pixmaps/parch-logo-dark.svg /usr/share/pixmaps/parch-logo-dark.svg" diff --git a/branding/etc/pacman.d/parch-mirrors b/branding/etc/pacman.d/parch-mirrors new file mode 100644 index 0000000..3d4b9ff --- /dev/null +++ b/branding/etc/pacman.d/parch-mirrors @@ -0,0 +1 @@ +Server = https://github.com/parchlinux/world/raw/refs/heads/main/x86_64/ diff --git a/branding/usr/lib/os-release_parch b/branding/usr/lib/os-release_parch new file mode 100644 index 0000000..4d28b0c --- /dev/null +++ b/branding/usr/lib/os-release_parch @@ -0,0 +1,12 @@ +NAME="Parch Linux" +PRETTY_NAME="Parch Linux" +ID=parch +BUILD_ID=rolling +HOME_URL="https://parchlinux.com" +DOCUMENTATION_URL="https://wiki.parchlinux.com/en/" +SUPPORT_URL="https://forum.parchlinux.com" +BUG_REPORT_URL="https://forum.parchlinux.com" +LOGO=parch-logo +VARIANT="Virtual Machine" +VARIANT_ID=vm +ANSI_COLOR="0;35" diff --git a/branding/usr/share/pixmaps/parch-logo-dark.svg b/branding/usr/share/pixmaps/parch-logo-dark.svg new file mode 100644 index 0000000..75b8415 --- /dev/null +++ b/branding/usr/share/pixmaps/parch-logo-dark.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/branding/usr/share/pixmaps/parch-logo.svg b/branding/usr/share/pixmaps/parch-logo.svg new file mode 100644 index 0000000..99643b3 --- /dev/null +++ b/branding/usr/share/pixmaps/parch-logo.svg @@ -0,0 +1,7 @@ + + + + + + +