#11716: postfix will need a patch or sed for linux-5.0.
-------------------------+-----------------------
Reporter: ken@… | Owner: blfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 8.5
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-------------------------+-----------------------
The 5.0.0 kernel is possibly going to be released in a few hours, or
alternatively in a week's time. Too late for our 8.4.
Testing a build in chroot while running on a 5.0.0-rc host kernel, postfix
failed,
{{{
ATTENTION:
ATTENTION: Unknown system type: Linux 5.0.0-rc4
ATTENTION:
}}}
If it recognizes the system as Linux 3 or greater, it displays it as
LINUX.
At first I thought this was similar to March 2015 when 4.0 was released,
but upstream has made an extra change. Details in debian #922477. I
adapted the patch suggested by Sven Joachen - rather than care about
Linux-6.0 and later, for Linux-5, as well as Linux-4 use a RELEASE_MAJOR
of 3 (4.xx is treated like 3.xx, the RELEASE_MAJOR setting in a separate
file unnecessarily complicates things.
As of 13 hours ago,neither the development version of postfix,
3.5-20190221, nor the pre-release of 3.4, were adapted for Linux > 4.
Following sed seems to work:
{{{
sed -i -e 's/\$RELEASE_MAJOR/3/' \
-e '/Linux..3/s/34/345/' makedefs
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11716>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page