1 Name: system-plugin-slp
2 Summary: system-plugin for Clean SDK
8 Source: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(libudev)
22 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSYSCONFDIR=%{_sysconfdir}
24 ./mount-generator.pl etc/fstab usr/lib/systemd/system
29 cp -a etc usr bin %{buildroot}
31 mkdir -p %{buildroot}/usr/lib/systemd/system/local-fs.target.wants
32 for mount in usr/lib/systemd/system/*.mount; do
33 if grep -q '^Options[[:space:]]*=.*noauto' $mount; then continue; fi
35 ln -s ../$m %{buildroot}/usr/lib/systemd/system/local-fs.target.wants/$m
37 mkdir -p %{buildroot}/%{_libdir}/systemd/system/local-fs.target.wants
38 ln -s ../resize2fs-root.service %{buildroot}/%{_libdir}/systemd/system/local-fs.target.wants
40 mkdir -p %{buildroot}/lib/modules
48 /etc/rc.d/rc.firstboot
52 /bin/check-booting-mode.sh
53 /usr/lib/systemd/system/resize2fs-root.service
54 /usr/lib/systemd/system/resize2fs@.service
55 /usr/lib/systemd/system/*.mount
56 /usr/lib/systemd/system/local-fs.target.wants/*.mount
57 /usr/lib/systemd/system/local-fs.target.wants/resize2fs-root.service