diff options
author | Hyotaek Shim <hyotaek.shim@samsung.com> | 2019-12-23 16:24:10 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2019-12-23 16:24:10 +0900 |
commit | 23d56340be7545e88c97dcaa8d598e6db1d98bc5 (patch) | |
tree | ec96f7f24a4fe59ae0f2991f1d709b635004da9e /packaging/system-plugin.spec | |
parent | 88168eda4027c8a226cd7aa7ed69f7d9777a7522 (diff) | |
download | system-plugin-23d56340be7545e88c97dcaa8d598e6db1d98bc5.tar.gz system-plugin-23d56340be7545e88c97dcaa8d598e6db1d98bc5.tar.bz2 system-plugin-23d56340be7545e88c97dcaa8d598e6db1d98bc5.zip |
Create default directories all at once
Change-Id: Ic38fc16336c15df2d84911dc1fc70ddda0111cd8
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Diffstat (limited to 'packaging/system-plugin.spec')
-rw-r--r-- | packaging/system-plugin.spec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index a973364..ee9c14a 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -150,10 +150,18 @@ cp %{SOURCE1} . rm -rf %{buildroot} %{make_install} +# create default directories +mkdir -p %{buildroot}%{_sysconfdir} +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_userunitdir} mkdir -p %{buildroot}/csa mkdir -p %{buildroot}/initrd +mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/ +mkdir -p %{buildroot}%{_sysconfdir}/profile.d + +# tizen-system-env install -m 644 units/tizen-system-env.service %{buildroot}%{_unitdir} # csa mount @@ -165,8 +173,7 @@ ln -s ../csa.mount %{buildroot}%{_unitdir}/local-fs.target.wants/csa.mount mkdir -p %{buildroot}%{_unitdir}/basic.target.wants ln -s ../tizen-system-env.service %{buildroot}%{_unitdir}/basic.target.wants/tizen-system-env.service -#udev rules -mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/ +# udev rules install -m 644 rules/51-system-plugin-exynos.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 644 rules/51-system-plugin-spreadtrum.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 644 rules/61-system-plugin-n4.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ @@ -175,7 +182,6 @@ mkdir -p %{buildroot}%{_prefix}/lib/udev/hwdb.d/ install -m 644 rules/60-evdev.hwdb %{buildroot}%{_prefix}/lib/udev/hwdb.d/ # /etc/fstab -mkdir -p %{buildroot}%{_sysconfdir} install -m 644 etc/fstab_3parts %{buildroot}%{_sysconfdir} install -m 644 etc/fstab_2parts %{buildroot}%{_sysconfdir} @@ -184,29 +190,23 @@ mkdir -p %{buildroot}%{_unitdir}/delayed.target.wants install -m 644 units/tizen-fstrim-user.timer %{buildroot}%{_unitdir} ln -s ../tizen-fstrim-user.timer %{buildroot}%{_unitdir}/delayed.target.wants/tizen-fstrim-user.timer install -m 644 units/tizen-fstrim-user.service %{buildroot}%{_unitdir} -mkdir -p %{buildroot}%{_bindir} install -m 755 scripts/tizen-fstrim-on-charge.sh %{buildroot}%{_bindir} # fixed-multi-user install -m 775 -D scripts/fixed-multi-user.sh %{buildroot}%{_datadir}/fixed_multiuser/fixed-multi-user.sh # init_wrapper -mkdir -p %{buildroot}%{_sbindir} install -m 755 scripts/init.wrapper %{buildroot}%{_sbindir} install -m 755 scripts/init.wrapper.overlayfs %{buildroot}%{_sbindir} # headless -mkdir -p %{buildroot}%{_sbindir} install -m 755 scripts/sdb-mode.sh %{buildroot}%{_bindir} -mkdir -p %{buildroot}%{_sysconfdir}/profile.d install -m 755 scripts/headless_env.sh %{buildroot}%{_sysconfdir}/profile.d # config-2parts -mkdir -p %{buildroot}%{_sysconfdir}/profile.d install -m 755 scripts/2parts_env.sh %{buildroot}%{_sysconfdir}/profile.d # config-udev-sdbd -mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 644 rules/99-sdb-extcon.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ # /opt/usr lazy mount |