diff options
author | torben | 2015-04-21 11:16:29 +0200 |
---|---|---|
committer | torben | 2015-04-21 11:16:29 +0200 |
commit | 3496458614950cf805d6da68f5e31eeb422db8a8 (patch) | |
tree | f151011d59a9df4051eeddf88648d6277f521942 | |
parent | Add some comments. (diff) | |
download | systemd-init-3496458614950cf805d6da68f5e31eeb422db8a8.tar.gz systemd-init-3496458614950cf805d6da68f5e31eeb422db8a8.tar.xz systemd-init-3496458614950cf805d6da68f5e31eeb422db8a8.zip |
Fix.
-rw-r--r-- | readme.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -309,6 +309,33 @@ dnbd3-client -h 132.230.4.1 -i stage4/torben/test -r 1 NOTE: Disable NetworkManager to avoid reloading network on boot: systemctl disable NetworkManager +h2. CentOS7 @rpmbuild@ + +First "Set up RPM build env":http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment +Now in that user's home, e.g. @/home/builder@: +<pre> +# install yumdownloader +yum install yum-utils + +# download source in /home/builder/ +yumdownloader --source systemd + +# should have now have a file ~/systemd-208-20.el7_1.2.src.rpm +# "install" it in ~/rpmbuild +rpm -ivh systemd-208-20.el7_1.2.src.rpm + +# install building deps +yum-builddep ~/rpmbuild/SPECS/systemd.spec + +# now check if everything is working, by running the simple %prep% phase +# (unpacks source & applies patches) +rpmbuild -bp ~/rpmbuild/SPECS/systemd.spec + +# if it worked, we can probably compile +# this runs %prep% and %build% +rpmbuild -bp ~/rpmbuild/SPECS/systemd.spec +</pre> + dmesg 998 ping 8.8.8.8 999 shutdown .h now |