Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove several obsolete migrations #409

Merged
merged 9 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion 50-meson-vdec.rules

This file was deleted.

9 changes: 1 addition & 8 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ dist_systemdunit_DATA = \
eos-enable-zram.service \
eos-firewall-localonly.service \
eos-firstboot.service \
eos-fix-flatpak-overrides.service \
eos-live-boot-overlayfs-setup.service \
eos-ostree-bootloader-setup.service \
eos-prune-printers.service \
eos-transient-setup.service \
eos-update-flatpak-repos.service \
eos-update-system-ca.service \
hack-remove-global-override.service \
$(NULL)

dist_systemduserunit_DATA = \
Expand Down Expand Up @@ -78,7 +76,6 @@ uninstall-hook:
udevrulesdir = $(udevdir)/rules.d
dist_udevrules_DATA = \
50-disk-bfq.rules \
50-meson-vdec.rules \
50-usb-mouse-wakeup.rules \
60-suspend-mode.rules \
$(NULL)
Expand All @@ -89,8 +86,6 @@ dist_sbin_SCRIPTS = \
eos-firewall-localonly \
eos-firstboot \
eos-live-boot-overlayfs-setup \
eos-ostree-bootloader-setup \
eos-prune-printers \
eos-repartition-mbr \
eos-test-mode \
eos-transient-setup \
Expand All @@ -104,10 +99,8 @@ dist_libexec_SCRIPTS = \

tmpfilesdir = $(prefix)/lib/tmpfiles.d
dist_tmpfiles_DATA = \
tmpfiles.d/avahi-service-writers.conf \
tmpfiles.d/chromium-system-services.conf \
tmpfiles.d/eos-boot-helper.conf \
tmpfiles.d/flatpak-overrides.conf \
$(NULL)

com.endlessm.TestMode.policy: com.endlessm.TestMode.policy.in
Expand Down
6 changes: 0 additions & 6 deletions debian/eos-boot-helper.postinst

This file was deleted.

22 changes: 22 additions & 0 deletions eos-fix-flatpak-overrides.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[Unit]
Description=Fix incorrect Flatpak override symlink
DefaultDependencies=no
Conflicts=shutdown.target
Wants=local-fs.target
After=local-fs.target

# Only run on updates
Before=multi-user.target systemd-update-done.service
ConditionNeedsUpdate=|/etc
ConditionNeedsUpdate=|/var

# Run only if this path is a dangling symbolic link
ConditionPathIsSymbolicLink=/var/lib/flatpak/overrides
ConditionPathExists=!/var/lib/flatpak/overrides

[Service]
Type=oneshot
ExecStart=rm -f /var/lib/flatpak/overrides

[Install]
WantedBy=multi-user.target
38 changes: 0 additions & 38 deletions eos-ostree-bootloader-setup

This file was deleted.

25 changes: 0 additions & 25 deletions eos-ostree-bootloader-setup.service

This file was deleted.

58 changes: 0 additions & 58 deletions eos-prune-printers

This file was deleted.

14 changes: 0 additions & 14 deletions eos-prune-printers.service

This file was deleted.

21 changes: 0 additions & 21 deletions hack-remove-global-override.service

This file was deleted.

2 changes: 0 additions & 2 deletions tmpfiles.d/avahi-service-writers.conf

This file was deleted.

10 changes: 4 additions & 6 deletions tmpfiles.d/eos-boot-helper.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# remove stamp file from eos-migrate-image-defaults
# (from 3.2.0 move to /var/lib/eos-image-default)
r /var/lib/.eos-migrate-image-defaults
# Remove stamp file from eos-prune-printers (added on upgrade to Endless OS 4)
r /var/lib/eos4-prune-printers

# remove stamp file from eos-fix-home-dir-permissions
# (from 3.1.6 change to default home dir permissions)
r /var/lib/misc/eos-dir-mode-700
# Remove stamp file from eos-reclaim-swap (itself removed in Endless OS 4)
r /var/eos-swap-reclaimed
2 changes: 0 additions & 2 deletions tmpfiles.d/flatpak-overrides.conf

This file was deleted.