mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-20 16:08:19 +02:00
Set the execution bit on /usr/sbin/{ifup,ifdown} ghost files to match
the mode of same files installed by initscripts.
Otherwise, they will appear as changed according to rpm verify:
.M....... g /usr/sbin/ifdown
.M....... g /usr/sbin/ifup
when the alternatives mechanism is not in place.
# ll /usr/sbin/if{up,down}
-rwxr-xr-x. 1 root root 1651 Aug 24 06:23 /usr/sbin/ifdown
-rwxr-xr-x. 1 root root 5010 Aug 24 06:23 /usr/sbin/ifup
https://bugzilla.redhat.com/show_bug.cgi?id=1626517
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| 00-server.conf | ||
| 20-connectivity-fedora.conf | ||
| 20-connectivity-redhat.conf | ||
| build.sh | ||
| build_clean.sh | ||
| mockbuild.sh | ||
| NetworkManager.conf | ||
| NetworkManager.spec | ||
| README | ||
# To build RPM packages for Fedora derivates directly from git, just do: # # preparation: # git clone https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git cd NetworkManager git checkout $WHATEVER sudo sh ./contrib/fedora/REQUIRED_PACKAGES # # build the packages. Pass --help for usage help. # ./contrib/fedora/rpm/build_clean.sh # # install # sudo dnf install ./contrib/fedora/rpm/latest/RPMS/x86_64/*rpm # To generate a clean build from git using mock, run: ./contrib/fedora/rpm/mockbuild.sh