On 08/19/2012 01:14 AM, Dave Reisner wrote:
On Sun, Aug 19, 2012 at 12:57:19AM -0300, Gerardo Exequiel Pozzi wrote:
---
What I don't notice in this patchset (unless I'm blind) is evidence of
actually adding the symlinks for the services. You probably want
something like the below to mimic what's current on the sysvinit
archiso:

   etc/systemd/system/
   ├── multi-user.target.wants
   │   ├── [email protected] -> /usr/lib/systemd/system/[email protected]
   │   ├── haveged.service -> /usr/lib/systemd/system/haveged.service
   │   ├── ntpd.service -> /usr/lib/systemd/system/ntpd.service
   │   └── pacman-keyring.service -> /etc/systemd/system/pacman-keyring.service
   └── pacman-keyring.service


look at PATCH 3/5

  configs/releng/build.sh        | 8 ++++++++
  configs/releng/packages.i686   | 1 -
  configs/releng/packages.x86_64 | 1 -
  3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index eb0e5b4..342920d 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -26,6 +26,14 @@ setup_workdir() {
  make_basefs() {
      mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D 
"${install_dir}" init
      mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" -p 
"memtest86+ mkinitcpio-nfs-utils nbd curl" install
+
+    # Install systemd in this way until hits {base} group
+    mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D 
"${install_dir}" \
+        -r 'pacman -R --noconfirm --noprogressbar initscripts sysvinit' \
+        run
+    mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D 
"${install_dir}" \
+        -p "systemd systemd-sysvcompat" \
+        install
  }
# Additional packages (root-image)
diff --git a/configs/releng/packages.i686 b/configs/releng/packages.i686
index 3d30971..9bee336 100644
--- a/configs/releng/packages.i686
+++ b/configs/releng/packages.i686
@@ -41,7 +41,6 @@ rp-pppoe
  rsync
  smartmontools
  speedtouch
-systemd
  tcpdump
  usb_modeswitch
  vpnc
diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64
index 76d0854..bffece4 100644
--- a/configs/releng/packages.x86_64
+++ b/configs/releng/packages.x86_64
@@ -42,7 +42,6 @@ rp-pppoe
  rsync
  smartmontools
  speedtouch
-systemd
  tcpdump
  usb_modeswitch
  vpnc
--
1.7.11.5



--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

Reply via email to