mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-21 15:08:18 -04:00
install systemd-bootchart to ease boot performance debugging
This commit is contained in:
@@ -6,9 +6,11 @@ build() {
|
||||
map add_binary \
|
||||
/usr/lib/systemd/systemd-volatile-root \
|
||||
/usr/bin/_kdeos-overlay \
|
||||
/usr/lib/systemd/system-generators/kdeos-live-generator
|
||||
/usr/lib/systemd/system-generators/kdeos-live-generator \
|
||||
/usr/lib/systemd/systemd-bootchart
|
||||
|
||||
map add_systemd_unit \
|
||||
systemd-volatile-root.service \
|
||||
kdeos-overlay.service
|
||||
kdeos-overlay.service \
|
||||
systemd-bootchart.service
|
||||
}
|
||||
|
||||
@@ -44,10 +44,13 @@ su - builder -c "git clone https://aur.archlinux.org/yay.git /tmp/yay-build/yay"
|
||||
su - builder -c "cd /tmp/yay-build/yay && makepkg --noconfirm"
|
||||
pacman --noconfirm --upgrade /tmp/yay-build/yay/*.pkg.tar.*
|
||||
pacman --noconfirm --sync libinih libnsl liburcu lzo python apparmor autoconf-archive go-tools python-docutils squashfs-tools xfsprogs
|
||||
# For build deps for systemd-bootchart
|
||||
pacman --noconfirm --sync intltool docbook-xsl
|
||||
# FIXME: something breaks with snap-confines setuid bit, it doesn't arrive in the final image
|
||||
su - builder -c "yay --noconfirm --sync --sudo /bin/true snapd steam-devices-git"
|
||||
su - builder -c "yay --noconfirm --sync --sudo /bin/true snapd steam-devices-git systemd-bootchart"
|
||||
pacman --noconfirm --upgrade /home/builder/.cache/yay/snapd/*.pkg.tar.*
|
||||
pacman --noconfirm --upgrade /home/builder/.cache/yay/steam-devices-git/*.pkg.tar.*
|
||||
pacman --noconfirm --upgrade /home/builder/.cache/yay/systemd-bootchart/*.pkg.tar.*
|
||||
touch /var/lib/snapd/apparmor/snap-confine/.keep # this has been gotten lost in the past for unknown reasons
|
||||
userdel --remove builder
|
||||
rm /etc/sudoers.d/builder
|
||||
|
||||
Reference in New Issue
Block a user