Skip to content
Snippets Groups Projects
Commit b08f27bf authored by Alexandre Peres Arias's avatar Alexandre Peres Arias
Browse files

solve systemd vars type uint_32_t and others in mtd_probe.h

parent ec2f84f1
Branches issue/2
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ fetch_source () {
perror "'src/$REQUIRED_VERSION/src/core/socket.c' does not exist."
fi
fi
# now check if the old fix needs to be applied
# NOTE: only for systemd-204
if [ "x${REQUIRED_VERSION#systemd-}" = "x204" ]; then
......@@ -25,6 +26,8 @@ fetch_source () {
# However, there were lots of changes after systemd 204, so we didn't update yet
# See http://cgit.freedesktop.org/systemd/systemd/tree/NEWS for changes.
patch -p0 src/systemd-*/src/core/main.c < systemd-openslx.patch || perror "Failed to apply openslx systemd patch."
sed -i 's/#include <mtd\/mtd-user.h>/#include <mtd\/mtd-user.h> \n #include <stdint.h>/g' /root/tm-scripts_16/remote/modules/systemd/src/systemd-204/src/udev/mtd_probe/mtd_probe.h
else
# TODO use the above hint for setting environmenet through /etc/systemd/system.conf
pinfo "Missing..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment