Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
systemd
Commits
9e029b8e
Commit
9e029b8e
authored
Oct 06, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated systemd to 243
parent
ae0f3a2b
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1288 additions
and
71 deletions
+1288
-71
Makefile
Makefile
+11
-11
systemd-241-networkd_fix.patch
systemd-241-networkd_fix.patch
+0
-60
systemd-243-consolidated_fixes-1.patch
systemd-243-consolidated_fixes-1.patch
+1277
-0
systemd-243.tar.gz
systemd-243.tar.gz
+0
-0
systemd-man-pages-241.tar.xz
systemd-man-pages-241.tar.xz
+0
-0
systemd-man-pages-243.tar.xz
systemd-man-pages-243.tar.xz
+0
-0
No files found.
Makefile
View file @
9e029b8e
target all
:
LC_ALL=$(SYSTEM_LOCALE)
target all
:
LC_ALL=$(SYSTEM_LOCALE)
all
:
systemd-user-sessions network-config
all
:
systemd-user-sessions network-config
tar
xf systemd-24
1
.tar.gz
tar
xf systemd-24
3
.tar.gz
patch
-Np1
-d
systemd-24
1 < systemd-241-networkd_fix
.patch
patch
-Np1
-d
systemd-24
3 < systemd-243-consolidated_fixes-1
.patch
ln
-s
/tools/bin/true /usr/bin/xsltproc
ln
-s
/tools/bin/true /usr/bin/xsltproc
cd
systemd-24
1
&&
tar
xf ../systemd-man-pages-241
.tar.xz
cd
systemd-24
3
&&
tar
xf ../systemd-man-pages-243
.tar.xz
cd
systemd-24
1
&&
sed
-i
's/GROUP="render", //'
rules/50-udev-default.rules.in
cd
systemd-24
3
&&
sed
-i
's/GROUP="render", //'
rules/50-udev-default.rules.in
cd
systemd-24
1
&&
mkdir
-p
build
cd
systemd-24
3
&&
mkdir
-p
build
cd
systemd-24
1/build
&&
meson
--prefix
=
/usr
--sysconfdir
=
/etc
--localstatedir
=
/var
-Dblkid
=
true
-Dbuildtype
=
release
-Ddefault-dnssec
=
no
-Dfirstboot
=
false
-Dkill-path
=
/bin/kill
-Dkmod-path
=
/bin/kmod
-Dldconfig
=
false
-Dmount-path
=
/bin/mount
-Drootprefix
=
-Drootlibdir
=
/lib
-Dsplit-usr
=
true
-Dsulogin-path
=
/sbin/sulogin
-Dsysusers
=
false
-Dumount-path
=
/bin/umount
-Db_lto
=
false
..
cd
systemd-24
3/build
&&
meson
--prefix
=
/usr
--sysconfdir
=
/etc
--localstatedir
=
/var
-Dblkid
=
true
-Dbuildtype
=
release
-Ddefault-dnssec
=
no
-Dfirstboot
=
false
-Dinstall-tests
=
false
-Dkmod-path
=
/bin/kmod
-Dldconfig
=
false
-Dmount-path
=
/bin/mount
-Drootprefix
=
-Drootlibdir
=
/lib
-Dsplit-usr
=
true
-Dsulogin-path
=
/sbin/sulogin
-Dsysusers
=
false
-Dumount-path
=
/bin/umount
-Db_lto
=
false
-Drpmmacrosdir
=
no
..
cd
systemd-24
1
/build
&&
ninja
cd
systemd-24
3
/build
&&
ninja
cd
systemd-24
1
/build
&&
ninja
install
cd
systemd-24
3
/build
&&
ninja
install
rm
-rfv
/usr/lib/rpm
rm
-rfv
/usr/lib/rpm
for
tool
in
runlevel reboot shutdown poweroff halt telinit
;
do
\
for
tool
in
runlevel reboot shutdown poweroff halt telinit
;
do
\
ln
-sfv
/bin/systemctl /sbin/
$$
tool
;
\
ln
-sfv
/bin/systemctl /sbin/
$$
tool
;
\
...
@@ -25,13 +25,13 @@ all: systemd-user-sessions network-config
...
@@ -25,13 +25,13 @@ all: systemd-user-sessions network-config
tests
:
tests
:
ln
-s
/tools/bin/true /usr/bin/xsltproc
ln
-s
/tools/bin/true /usr/bin/xsltproc
-
if
[[
!
"
$(BUILD_OPTIONS)
"
=
~ no-tests
]]
;
then
\
-
if
[[
!
"
$(BUILD_OPTIONS)
"
=
~ no-tests
]]
;
then
\
cd
systemd-24
1
/build
;
\
cd
systemd-24
3
/build
;
\
ninja
test
;
\
ninja
test
;
\
fi
fi
rm
-f
/usr/bin/xsltproc
rm
-f
/usr/bin/xsltproc
-
umount systemd-24
1
/build/test/tmpfs
-
umount systemd-24
3
/build/test/tmpfs
$(MAKE)
-C
.. success
$(MAKE)
-C
.. success
rm
-rf
system-24
1
rm
-rf
system-24
3
systemd-user-sessions
:
systemd-user-sessions
:
define
SYSTEMD_USER_SESSIONS
define
SYSTEMD_USER_SESSIONS
...
...
systemd-241-networkd_fix.patch
deleted
100644 → 0
View file @
ae0f3a2b
diff -uNr systemd-241/src/network/networkd-link.c systemd-241-networkd_fix/src/network/networkd-link.c
--- systemd-241/src/network/networkd-link.c 2019-02-14 20:41:58.000000000 +1030
+++ systemd-241-networkd_fix/src/network/networkd-link.c 2019-09-12 04:14:16.658391425 +0930
@@ -1788,6 +1788,9 @@
assert(link->manager);
assert(link->manager->rtnl);
+ if (!socket_ipv6_is_supported())
+ return 0;
+
log_link_debug(link, "Setting address genmode for link");
r = sd_rtnl_message_new_link(link->manager->rtnl, &req, RTM_SETLINK, link->ifindex);
@@ -1889,31 +1892,6 @@
return log_link_error_errno(link, r, "Could not set MAC address: %m");
}
- if (link_ipv6_enabled(link)) {
- r = sd_netlink_message_open_container(req, IFLA_AF_SPEC);
- if (r < 0)
- return log_link_error_errno(link, r, "Could not open IFLA_AF_SPEC container: %m");
-
- /* if the kernel lacks ipv6 support setting IFF_UP fails if any ipv6 options are passed */
- r = sd_netlink_message_open_container(req, AF_INET6);
- if (r < 0)
- return log_link_error_errno(link, r, "Could not open AF_INET6 container: %m");
-
- if (!in_addr_is_null(AF_INET6, &link->network->ipv6_token)) {
- r = sd_netlink_message_append_in6_addr(req, IFLA_INET6_TOKEN, &link->network->ipv6_token.in6);
- if (r < 0)
- return log_link_error_errno(link, r, "Could not append IFLA_INET6_TOKEN: %m");
- }
-
- r = sd_netlink_message_close_container(req);
- if (r < 0)
- return log_link_error_errno(link, r, "Could not close AF_INET6 container: %m");
-
- r = sd_netlink_message_close_container(req);
- if (r < 0)
- return log_link_error_errno(link, r, "Could not close IFLA_AF_SPEC container: %m");
- }
-
r = netlink_call_async(link->manager->rtnl, NULL, req, link_up_handler,
link_netlink_destroy_callback, link);
if (r < 0)
@@ -3001,11 +2979,9 @@
return r;
}
- if (socket_ipv6_is_supported()) {
- r = link_configure_addrgen_mode(link);
- if (r < 0)
- return r;
- }
+ r = link_configure_addrgen_mode(link);
+ if (r < 0)
+ return r;
return link_configure_after_setting_mtu(link);
}
systemd-243-consolidated_fixes-1.patch
0 → 100644
View file @
9e029b8e
This diff is collapsed.
Click to expand it.
systemd-24
1
.tar.gz
→
systemd-24
3
.tar.gz
View file @
9e029b8e
No preview for this file type
systemd-man-pages-241.tar.xz
deleted
100644 → 0
View file @
ae0f3a2b
File deleted
systemd-man-pages-243.tar.xz
0 → 100644
View file @
9e029b8e
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment