You've already forked fedora-bootc
Compare commits
10 Commits
88fc870ab3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
8f32fde51a
|
|||
|
c320f894a7
|
|||
|
4b97329839
|
|||
|
7e14520e7b
|
|||
|
52588956a9
|
|||
|
13111c5203
|
|||
|
902f915433
|
|||
|
27001fe170
|
|||
|
e0e80202fa
|
|||
|
b35099783b
|
@@ -1,115 +0,0 @@
|
||||
---
|
||||
name: Build disk images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
upload-to-s3:
|
||||
description: "Upload to S3"
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
platform:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- amd64
|
||||
- arm64
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- './disk_config/disk.toml'
|
||||
- './disk_config/iso.toml'
|
||||
- './.github/workflows/build-disk.yml'
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ${{ github.event.repository.name }} # output of build.yml, keep in sync
|
||||
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" # do not edit
|
||||
DEFAULT_TAG: "latest"
|
||||
BIB_IMAGE: "ghcr.io/lorbuschris/bootc-image-builder:20250608" # "quay.io/centos-bootc/bootc-image-builder:latest" - see https://github.com/osbuild/bootc-image-builder/pull/954
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build disk images
|
||||
runs-on: ${{ inputs.platform == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
disk-type: ["qcow2", "anaconda-iso"]
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Prepare environment
|
||||
run: |
|
||||
USER_UID=$(id -u)
|
||||
USER_GID=$(id -g)
|
||||
# Concatenate the types with a hyphen
|
||||
DISK_TYPE=$(echo "${{ matrix.disk-type }}" | tr ' ' '-')
|
||||
# Lowercase the image uri
|
||||
echo "IMAGE_REGISTRY=${IMAGE_REGISTRY,,}" >> ${GITHUB_ENV}
|
||||
echo "IMAGE_NAME=${IMAGE_NAME,,}" >> ${GITHUB_ENV}
|
||||
echo "DISK_TYPE=${DISK_TYPE}" >> ${GITHUB_ENV}
|
||||
echo "USER_UID=${USER_UID}" >> ${GITHUB_ENV}
|
||||
echo "USER_GID=${USER_GID}" >> ${GITHUB_ENV}
|
||||
|
||||
- name: Install dependencies
|
||||
if: inputs.platform == 'arm64'
|
||||
run: |
|
||||
set -x
|
||||
sudo apt update -y
|
||||
sudo apt install -y \
|
||||
podman
|
||||
|
||||
- name: Maximize build space
|
||||
if: inputs.platform != 'arm64'
|
||||
uses: ublue-os/remove-unwanted-software@cc0becac701cf642c8f0a6613bbdaf5dc36b259e # v9
|
||||
with:
|
||||
remove-codeql: true
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
|
||||
- name: Build disk images
|
||||
id: build
|
||||
uses: osbuild/bootc-image-builder-action@main
|
||||
with:
|
||||
builder-image: ${{ env.BIB_IMAGE }}
|
||||
config-file: ${{ matrix.disk-type == 'anaconda-iso' && './disk_config/iso.toml' || './disk_config/disk.toml' }}
|
||||
image: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}
|
||||
chown: ${{ env.USER_UID }}:${{ env.USER_GID }}
|
||||
types: ${{ matrix.disk-type }}
|
||||
additional-args: --use-librepo=True
|
||||
|
||||
- name: Upload disk images and Checksum to Job Artifacts
|
||||
if: inputs.upload-to-s3 != true && github.event_name != 'pull_request'
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
path: ${{ steps.build.outputs.output-directory }}
|
||||
if-no-files-found: error
|
||||
retention-days: 0
|
||||
compression-level: 0
|
||||
overwrite: true
|
||||
|
||||
- name: Upload to S3
|
||||
if: inputs.upload-to-s3 == true && github.event_name != 'pull_request'
|
||||
shell: bash
|
||||
env:
|
||||
RCLONE_CONFIG_S3_TYPE: s3
|
||||
RCLONE_CONFIG_S3_PROVIDER: ${{ secrets.S3_PROVIDER }}
|
||||
RCLONE_CONFIG_S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
RCLONE_CONFIG_S3_REGION: ${{ secrets.S3_REGION }}
|
||||
RCLONE_CONFIG_S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
|
||||
SOURCE_DIR: ${{ steps.build.outputs.output-directory }}
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y rclone
|
||||
rclone copy $SOURCE_DIR S3:${{ secrets.S3_BUCKET_NAME }}
|
||||
@@ -27,22 +27,26 @@ env:
|
||||
https://davejansen.dev/${{ github.repository_owner }}/${{
|
||||
github.event.repository.name }}
|
||||
|
||||
concurrency:
|
||||
group:
|
||||
${{ github.workflow }}-${{ github.ref || github.run_id }}-${{
|
||||
inputs.brand_name}}-${{ inputs.stream_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build_push:
|
||||
name: Build and push image
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
variant: [gnome, niri]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group:
|
||||
${{ github.workflow }}-${{ github.ref || github.run_id }}-${{
|
||||
matrix.variant }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
- name: Prepare environment
|
||||
run: |
|
||||
@@ -74,9 +78,9 @@ jobs:
|
||||
# This generates all the tags for your image, you can add custom tags here too!
|
||||
tags: |
|
||||
type=sha,enable=${{ github.event_name == 'pull_request' }}
|
||||
type=raw,value=latest
|
||||
type=raw,value=${{ env.FEDORA_BASE }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-{{date 'YYYYMMDD'}}
|
||||
type=raw,value=latest-${{ matrix.variant }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-${{ matrix.variant }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-${{ matrix.variant }}-{{date 'YYYYMMDD'}}
|
||||
type=ref,event=pr
|
||||
labels: |
|
||||
io.artifacthub.package.readme-url=${{ env.README_URL }}
|
||||
@@ -106,7 +110,7 @@ jobs:
|
||||
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
|
||||
with:
|
||||
containerfiles: |
|
||||
./Containerfile
|
||||
./Containerfile.${{ matrix.variant }}
|
||||
build-args: |
|
||||
FEDORA_BASE=${{ env.FEDORA_BASE }}
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ARG FEDORA_BASE=42
|
||||
ARG FEDORA_BASE=43
|
||||
|
||||
# Allow build scripts to be referenced without being copied into the final image
|
||||
FROM scratch AS ctx
|
||||
@@ -28,7 +28,7 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=cache,dst=/var/cache \
|
||||
--mount=type=cache,dst=/var/log \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
/ctx/build.sh && /ctx/cleanup.sh
|
||||
/ctx/gnome/build.sh && /ctx/gnome/cleanup.sh
|
||||
|
||||
### LINTING
|
||||
## Verify final image and contents are correct.
|
||||
35
Containerfile.niri
Normal file
35
Containerfile.niri
Normal file
@@ -0,0 +1,35 @@
|
||||
ARG FEDORA_BASE=43
|
||||
|
||||
# Allow build scripts to be referenced without being copied into the final image
|
||||
FROM scratch AS ctx
|
||||
COPY build_files /
|
||||
COPY /sys_files /sys_files
|
||||
COPY cosign.pub /cosign.pub
|
||||
|
||||
# Base Image
|
||||
FROM quay.io/fedora-ostree-desktops/base-atomic:$FEDORA_BASE
|
||||
|
||||
### [IM]MUTABLE /opt
|
||||
## Some bootable images, like Fedora, have /opt symlinked to /var/opt, in order to
|
||||
## make it mutable/writable for users. However, some packages write files to this directory,
|
||||
## thus its contents might be wiped out when bootc deploys an image, making it troublesome for
|
||||
## some packages. Eg, google-chrome, docker-desktop.
|
||||
##
|
||||
## Uncomment the following line if one desires to make /opt immutable and be able to be used
|
||||
## by the package manager.
|
||||
|
||||
RUN rm /opt && mkdir /opt
|
||||
|
||||
### MODIFICATIONS
|
||||
## make modifications desired in your image and install packages by modifying the build.sh script
|
||||
## the following RUN directive does all the things required to run "build.sh" as recommended.
|
||||
|
||||
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=cache,dst=/var/cache \
|
||||
--mount=type=cache,dst=/var/log \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
/ctx/niri/build.sh && /ctx/niri/cleanup.sh
|
||||
|
||||
### LINTING
|
||||
## Verify final image and contents are correct.
|
||||
RUN bootc container lint
|
||||
@@ -2,13 +2,6 @@
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
# Copy System Files onto root
|
||||
rsync -rvK /ctx/sys_files/ /
|
||||
|
||||
# Copy cosign.pub key into the right location
|
||||
mkdir -p /etc/pki/containers
|
||||
cp /ctx/cosign.pub /etc/pki/containers/davejansen.pub
|
||||
|
||||
### Install packages
|
||||
|
||||
# Packages can be installed from any enabled yum repo on the image.
|
||||
@@ -16,7 +9,7 @@ cp /ctx/cosign.pub /etc/pki/containers/davejansen.pub
|
||||
# List of rpmfusion packages can be found here:
|
||||
# https://mirrors.rpmfusion.org/mirrorlist?path=free/fedora/updates/39/x86_64/repoview/index.html&protocol=https&redirect=1
|
||||
|
||||
# Install RPMFusion and enable fedora-multimedia with a higher priority than default
|
||||
# Enable fedora-multimedia with a higher priority than default
|
||||
if ! grep -q fedora-multimedia <(dnf5 repolist); then
|
||||
# Enable or Install Repofile
|
||||
#dnf5 install \
|
||||
@@ -31,14 +24,6 @@ fi
|
||||
# Set higher priority
|
||||
dnf5 config-manager setopt fedora-multimedia.priority=90
|
||||
|
||||
# Remove Fedora's package that enforces their own (filtered) version of the
|
||||
# flathub repo is present, as-well as the system-installed Firefox as I prefer to use the Flatpak version
|
||||
dnf5 remove -y fedora-flathub-remote firefox firefox-langpacks
|
||||
|
||||
# Add Flathub to the image for eventual application
|
||||
mkdir -p /etc/flatpak/remotes.d/
|
||||
curl --retry 3 -Lo /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
# use override to replace mesa and others with less crippled versions
|
||||
OVERRIDES=(
|
||||
"intel-gmmlib"
|
||||
@@ -59,6 +44,14 @@ OVERRIDES=(
|
||||
dnf5 distro-sync --skip-unavailable -y --repo='fedora-multimedia' "${OVERRIDES[@]}"
|
||||
dnf5 versionlock add "${OVERRIDES[@]}"
|
||||
|
||||
# Add Flathub to the image for eventual application
|
||||
mkdir -p /etc/flatpak/remotes.d/
|
||||
curl --retry 3 -Lo /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
# Remove Fedora's package that enforces their own (filtered) version of the
|
||||
# flathub repo is present, as-well as the system-installed Firefox as I prefer to use the Flatpak version
|
||||
dnf5 remove -y fedora-flathub-remote firefox firefox-langpacks
|
||||
|
||||
# Remove additional repositories Fedora comes with out of the box
|
||||
# And don't raise an error if any of these files does not exist when attempting
|
||||
# to delete them.
|
||||
@@ -72,7 +65,7 @@ rm \
|
||||
|
||||
# Add country query to all repo metalinks
|
||||
# shellcheck disable=SC2016
|
||||
sed -i -e '/^metalink\=/s/\$releasever\&arch\=\$basearch$/\$releasever\&arch\=\$basearch\&country\=KR,JP,TW/g' /etc/yum.repos.d/*.repo
|
||||
sed -i -e '/^metalink\=/s/\$releasever\&arch\=\$basearch$/\$releasever\&arch\=\$basearch\&country\=KR,JP,AU/g' /etc/yum.repos.d/*.repo
|
||||
|
||||
# Add 1Password repo
|
||||
#rpmkeys --import https://downloads.1password.com/linux/keys/1password.asc
|
||||
@@ -85,9 +78,6 @@ sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://down
|
||||
cp /ctx/rpm-keys/tailscale.gpg /etc/pki/rpm-gpg/tailscale.gpg
|
||||
sh -c 'echo -e "[tailscale-stable]\nname=Tailscale stable\nbaseurl=https://pkgs.tailscale.com/stable/fedora/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"file:///etc/pki/rpm-gpg/tailscale.gpg\"" > /etc/yum.repos.d/tailscale.repo'
|
||||
|
||||
# Update all existing packages
|
||||
# dnf5 update -y
|
||||
|
||||
# Install my own layered packages
|
||||
dnf5 install -y \
|
||||
fish \
|
||||
@@ -103,13 +93,9 @@ dnf5 install -y \
|
||||
waypipe \
|
||||
htop
|
||||
|
||||
# Install Niri, the scrollable-tiling window compositor
|
||||
# https://yalter.github.io/niri/
|
||||
dnf5 -y copr enable avengemedia/dms
|
||||
dnf5 -y install niri dms alacritty brightnessctl
|
||||
dnf5 -y copr disable avengemedia/dms
|
||||
cd /tmp
|
||||
wget -O bitwarden.rpm "https://bitwarden.com/download/?app=desktop&platform=linux&variant=rpm"
|
||||
dnf install -y ./bitwarden.rpm
|
||||
|
||||
# Enable Tailscale service
|
||||
systemctl enable tailscaled
|
||||
|
||||
echo "Done."
|
||||
# Update all existing packages
|
||||
# dnf5 update -y
|
||||
6
build_files/common/services.sh
Executable file
6
build_files/common/services.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
# Enable Tailscale service
|
||||
systemctl enable tailscaled
|
||||
12
build_files/common/setup.sh
Executable file
12
build_files/common/setup.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
# Copy System Files onto root
|
||||
rsync -rvK /ctx/sys_files/ /
|
||||
|
||||
# Copy cosign.pub key into the right location
|
||||
mkdir -p /etc/pki/containers
|
||||
cp /ctx/cosign.pub /etc/pki/containers/davejansen.pub
|
||||
|
||||
/ctx/common/packages.sh
|
||||
15
build_files/gnome/build.sh
Executable file
15
build_files/gnome/build.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
/ctx/common/setup.sh
|
||||
|
||||
# Install Niri, the scrollable-tiling window compositor
|
||||
# https://yalter.github.io/niri/
|
||||
dnf5 -y copr enable avengemedia/dms
|
||||
dnf5 -y install niri dms alacritty brightnessctl
|
||||
dnf5 -y copr disable avengemedia/dms
|
||||
|
||||
/ctx/common/services.sh
|
||||
|
||||
echo "Done."
|
||||
20
build_files/niri/build.sh
Executable file
20
build_files/niri/build.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
/ctx/common/setup.sh
|
||||
|
||||
# Install Niri, the scrollable-tiling window compositor
|
||||
# https://yalter.github.io/niri/
|
||||
dnf5 -y copr enable avengemedia/dms
|
||||
|
||||
# Install my own layered packages
|
||||
dnf5 install -y \
|
||||
alacritty \
|
||||
niri dms
|
||||
|
||||
dnf5 -y copr disable avengemedia/dms
|
||||
|
||||
/ctx/common/services.sh
|
||||
|
||||
echo "Done."
|
||||
120
build_files/niri/cleanup.sh
Executable file
120
build_files/niri/cleanup.sh
Executable file
@@ -0,0 +1,120 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
# Delete 1Password and Tailscale repos once packages are installed
|
||||
# so they don't end up in the final image, and don't raise an error if any of
|
||||
# these files does not exist when attempting to delete them.
|
||||
rm \
|
||||
/etc/yum.repos.d/1password.repo \
|
||||
/etc/yum.repos.d/tailscale.repo \
|
||||
/etc/pki/rpm-gpg/1password.asc \
|
||||
/etc/pki/rpm-gpg/tailscale.gpg \
|
||||
2>&1
|
||||
|
||||
# Or just disable:
|
||||
# dnf5 config-manager setopt 1password.enabled=0 tailscale-stable.enabled=0
|
||||
# sed -i 's/enabled=1/enabled=0/' \
|
||||
# /etc/yum.repos.d/1password.repo \
|
||||
# /etc/yum.repos.d/tailscale.repo \
|
||||
|
||||
# Fedora Flatpak service is a part of the flatpak package, ensure it's overridden by moving to replace it at the end of the build.
|
||||
mv -f /usr/lib/systemd/system/flatpak-add-flathub-repos.service /usr/lib/systemd/system/flatpak-add-fedora-repos.service
|
||||
|
||||
# Re-install all pre-installed (GNOME) applications from Flathub
|
||||
#flatpak install --reinstall flathub "$(flatpak list --app-runtime=org.fedoraproject.Platform --columns=application | tail -n +1 )"
|
||||
|
||||
# ...and remove the fedora flatpak remotes
|
||||
#flatpak remote-delete --force fedora
|
||||
#flatpak remote-delete --force fedora-testing
|
||||
|
||||
# TODO: Add flathub remove, enable, and remove filter
|
||||
# TODO: Install core GNOME Flatpak apps
|
||||
# TODO: Install my own commonly used Flatpak apps
|
||||
# IDEA: Can I set certain dconf settings, like Ptyxis config, temperature settings, etc?
|
||||
# IDEA: Can I set certain Flatpak system defaults (ie. no read/write anywhere by default)
|
||||
|
||||
# Remove dnf5 versionlocks
|
||||
dnf5 versionlock clear
|
||||
|
||||
# Remove tmp files and everything in dirs that make bootc unhappy
|
||||
rm -rf /tmp/* || true
|
||||
rm -rf /usr/etc
|
||||
rm -rf /boot && mkdir /boot
|
||||
# Preserve cache mounts
|
||||
find /var/* -maxdepth 0 -type d \! -name cache \! -name log -exec rm -rf {} \;
|
||||
find /var/cache/* -maxdepth 0 -type d \! -name libdnf5 -exec rm -rf {} \;
|
||||
|
||||
# Make sure /var/tmp is properly created
|
||||
mkdir -p /var/tmp
|
||||
chmod -R 1777 /var/tmp
|
||||
|
||||
## Handle files that rpm-ostree would normally remove
|
||||
## Adapted from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
|
||||
|
||||
if [ -f /etc/passwd ]; then
|
||||
out="$(grep -v 'root' /etc/passwd)"
|
||||
|
||||
if [[ ! -z "$out" ]]; then
|
||||
echo
|
||||
echo Appending the following passwd users to /usr/lib/passwd
|
||||
echo "${out}"
|
||||
echo "$out" >>/usr/lib/passwd
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f /etc/group ]; then
|
||||
out="$(grep -v 'root\|wheel' /etc/group)"
|
||||
|
||||
if [[ ! -z "$out" ]]; then
|
||||
echo
|
||||
echo Appending the following group entries to /usr/lib/group
|
||||
echo "$out"
|
||||
echo "$out" >>/usr/lib/group
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f /etc/passwd ] || [ -f /etc/group ]; then
|
||||
echo
|
||||
echo "Warning: Make sure processed users and groups are from installed programs!"
|
||||
fi
|
||||
|
||||
# # Create defaults for /etc/passwd, /etc/group
|
||||
# cat <<EOT >/etc/passwd
|
||||
# root:x:0:0:root:/root:/bin/bash
|
||||
# EOT
|
||||
# cat <<EOT >/etc/group
|
||||
# root:x:0:
|
||||
# wheel:x:10:
|
||||
# EOT
|
||||
|
||||
# Extra lock files created by container processes that might cause issues
|
||||
rm -rf \
|
||||
/etc/.pwd.lock \
|
||||
/etc/passwd- \
|
||||
/etc/group- \
|
||||
/etc/shadow- \
|
||||
/etc/gshadow- \
|
||||
/etc/subuid- \
|
||||
/etc/subgid- \
|
||||
/.dockerenv
|
||||
|
||||
# # Merge /usr/etc to /etc
|
||||
# # OSTree will error out if both dirs exist
|
||||
# # And rpm-ostree will be confused and use only one of them
|
||||
# if [ -d /usr/etc ]; then
|
||||
# echo
|
||||
# echo WARNING: FOUND /usr/etc. MERGING TO ETC FOR COMPATIBILITY
|
||||
# echo EXPECT PERMISSIONS ISSUES ON THE MERGED PATHS
|
||||
# echo The following files from /usr/etc will be merged to /etc:
|
||||
# tree /usr/etc
|
||||
#
|
||||
# echo
|
||||
# rsync -aAX --numeric-ids --checksum --links /usr/etc/ /etc
|
||||
# rm -rf /usr/etc
|
||||
# fi
|
||||
#
|
||||
# # Move /etc to /usr/etc
|
||||
# mv /etc /usr/
|
||||
|
||||
# ...normal ublue-inspired steps continue.
|
||||
Reference in New Issue
Block a user