Displaying 6 results from an estimated 6 matches for "oldunitfile".
2016 Aug 03
2
[PATCH] firstboot: rename systemd service file
...t_service;
g#mkdir_p "/etc/systemd/system/default.target.wants";
- g#ln_sf unitfile "/etc/systemd/system/default.target.wants"
+ g#ln_sf unitfile "/etc/systemd/system/default.target.wants";
+
+ (* Try to remove the old firstboot.service files. *)
+ let oldunitfile = sprintf "%s/firstboot.service" unitdir in
+ if g#is_file oldunitfile then (
+ g#rm_f "/etc/systemd/system/default.target.wants/firstboot.service";
+ (* Remove the old firstboot.service only if it is one of our
+ * versions. *)
+ match g#checksum "m...
2016 Aug 03
0
Re: [PATCH] firstboot: rename systemd service file
..."/etc/systemd/system/default.target.wants";
> - g#ln_sf unitfile "/etc/systemd/system/default.target.wants"
> + g#ln_sf unitfile "/etc/systemd/system/default.target.wants";
> +
> + (* Try to remove the old firstboot.service files. *)
> + let oldunitfile = sprintf "%s/firstboot.service" unitdir in
> + if g#is_file oldunitfile then (
> + g#rm_f "/etc/systemd/system/default.target.wants/firstboot.service";
> + (* Remove the old firstboot.service only if it is one of our
> + * versions. *)
> +...
2016 Aug 04
3
[PATCH v2 1/2] firstboot: rename systemd and sysvinit
...t_service;
g#mkdir_p "/etc/systemd/system/default.target.wants";
- g#ln_sf unitfile "/etc/systemd/system/default.target.wants"
+ g#ln_sf unitfile "/etc/systemd/system/default.target.wants";
+
+ (* Try to remove the old firstboot.service files. *)
+ let oldunitfile = sprintf "%s/firstboot.service" unitdir in
+ if g#is_file oldunitfile then (
+ g#rm_f "/etc/systemd/system/default.target.wants/firstboot.service";
+ (* Remove the old firstboot.service only if it is one of our
+ * versions. *)
+ match g#checksum "m...
2016 Aug 26
2
[PATCH 1/2] customize: Fix firstboot scripts on Debian 6 & 7 (RHBZ#1019388).
I have only verified the fix on Debian 7.
The Debian 6 guest doesn't appear to boot, I'm not sure why.
The second patch contains a test suite.
Rich.
2017 Jul 17
6
[PATCH v2 0/4] customize: firstboot: Install firstboot scripts in multi-user.target (RHBZ#1469655).
v1: https://www.redhat.com/archives/libguestfs/2017-July/msg00127.html
v2:
- Remove /etc/systemd/system/default.target.wants/guestfs-firstboot.service
link as well.
- Use multi-user.target for virt-p2v as well.
Rich.
2017 Jul 16
4
[PATCH 0/2] customize: firstboot: Install firstboot scripts in multi-user.target (RHBZ#1469655).
See:
https://bugzilla.redhat.com/show_bug.cgi?id=1469655
https://github.com/systemd/systemd/issues/6334
https://lists.freedesktop.org/archives/systemd-devel/2017-July/039325.html