tb
bbda8d7c11
Adjust the sanity check for patch file names to allow a hyphen.
...
ok aja
2020-05-24 16:48:35 +00:00
tb
05942a6805
Explain how to take over syspatch builds from another machine.
...
ok ajacoutot robert
2019-08-14 20:30:19 +00:00
robert
9564001fcd
exit early if the errata name is invalid to avoid building a syspatch
...
that cannot be installed
2019-05-12 15:30:18 +00:00
robert
5559608384
use readlink(1) on each file that we think is different to ensure that
...
only the resolved path is included
ok ajacoutot@, tb@
2019-05-12 14:57:30 +00:00
ajacoutot
e0dae1d9cc
MACHINE_ARCH -> MACHINE to fix syspatch build on macppc and arm64.
...
prodded by "multiplexd"
ok tb@ who was coming up with the same patch
2018-11-18 15:30:04 +00:00
ajacoutot
32ebf226e0
Missed that SUBDIR remnant in previous.
...
prodded by a mail from "multiplexd"
ok robert@
2018-10-30 10:22:16 +00:00
ajacoutot
4060c8d33a
SUBDIR is a remnant of the past.
...
ok robert@
2018-10-27 16:49:16 +00:00
tb
417cbef9f1
Split the ${ERRATA}/${ERRATA}.patch target up into two: one for
...
moving the signed patch to the proper location and one for
verifying its signature and applying it.
ok ajacoutot, robert
2018-10-08 20:38:32 +00:00
deraadt
9f6bf093a2
white spaces
2018-06-25 16:29:00 +00:00
robert
5ff18317c4
use the correct relink directory path
2018-03-19 17:27:03 +00:00
rpe
8fb1a259ab
Consolidate lib.so.*.a, ld.so.a and the kernel relink kit into
...
one location under /usr/share/relink.
Be more specific in src/etc/rc reorder_libs() what filesystems
need r/w remount and ensure that their mount state is restored.
Idea and positive feedback from deraadt@
OK aja@ tb@
2017-11-05 10:29:24 +00:00
naddy
d96a07ced1
remove the remaining references to .depend files since nothing creates them
...
any longer; ok espie@ deraadt@
2017-10-17 19:31:56 +00:00
ajacoutot
4234f61e93
Previous fakeroot must be manually copied in case an errata does not apply
...
to the current architecture.
2017-09-03 09:42:03 +00:00
ajacoutot
d78306483e
Install the patched kernel on the build machine just like we do for
...
userland.
ok robert@
2017-08-23 13:13:37 +00:00
ajacoutot
1dae96defe
Add a comment about why we need to ignore the timestamps on perl man pages
...
(Pod::Man adds the current date to the manuals).
ok robert@
2017-08-21 15:02:58 +00:00
ajacoutot
643ddf044e
No need to explicitely add patch.sig to the plist, diff.sh will now pick it
...
up properly.
2017-08-21 08:46:33 +00:00
ajacoutot
5f578a5632
Kernel syspatches will now only contain the differing object files.
...
The syspatch(8) utility will be modified accordingly to relink the kernel at the
end of its run (not done yet, still WIP). That will give us KARL and much
smaller patches.
Idea from deraadt@
OK robert@
2017-08-21 08:45:38 +00:00
ajacoutot
91f6d3a59e
Catch non existent files (in case a syspatch would _add_ a new file).
2017-08-21 08:33:48 +00:00
ajacoutot
69a007a72b
The syspatch(8) build system will eventually be properly documented in its own
...
man(1) page but until things settle and the framework is robust, this file will
be used as a quick reminder.
ok robert@
2017-08-21 08:26:40 +00:00
ajacoutot
8447070420
Consistency in spacing.
2017-08-20 13:36:30 +00:00
robert
b79db08b82
use the previous syspatch's fake root for getting the link order
...
instead of using / where the libraries are re-ordered on reboot
ok aja@
2017-07-11 18:16:48 +00:00
ajacoutot
900125ccd6
Set XSRCDIR to /usr/xenocara if it's not defined. Matches what
...
/usr/X11R6/share/mk/bsd.xorg.mk does.
ok robert@
2017-07-10 07:28:26 +00:00
ajacoutot
f0110f5bd4
Set SRCDIR according to build type and s/X11SRC/XSRCDIR
...
ok robert@
2017-06-20 18:32:26 +00:00
ajacoutot
eb56a81a26
Don't patch(1) as the 'build' user; it has no right over the src tree.
...
That bug was hidden because patch(1) returns '0' on that particular case.
To be fixed...
ok robert@
2017-06-06 20:34:07 +00:00
robert
bc74588b92
a kernel errata requires a full build as well in case some headers
...
change so let's do a full build all the time
2017-06-05 09:47:54 +00:00
robert
64d740ad7e
set BUILDUSER to build by default, this can be overwritten from the environment
2017-06-05 09:46:25 +00:00
robert
ce65acf50f
do not add ./ to the path of the files in the tarball
2017-06-05 09:44:56 +00:00
robert
5c55e62a8f
do not remove used files from the fakeroot
2017-06-05 09:42:45 +00:00
robert
1947100d91
do not leave temp files after the diffing is done
2017-04-22 13:42:05 +00:00
robert
a4d73c594d
Add a small shell script to be used by syspatch to diff the fake root
...
directories for changes due to the fact that we have to do some "magic"
to figure out if things have really changed.
2017-04-22 13:41:02 +00:00
robert
2b986ce7fe
rework the syspatch makefile and do complete builds for each errata
...
and diff those instead of doing partial builds of affected directories
2017-04-22 13:39:00 +00:00
robert
438d51cc13
rework some of the variables for better directory name handling and
...
add support for linking against libraries inside the fake root so
that syspatches can include static binaries linked with the fixed libraries
2017-01-17 20:58:56 +00:00
ajacoutot
4c649b6870
oops, OSREV -> OSrev.
2016-11-09 15:45:28 +00:00
ajacoutot
04cdf17291
Use https to get the patches.
...
Fix syspatch naming.
ok robert@
2016-11-09 15:43:22 +00:00
robert
cfa8871b1a
switch to using BUILDUSER and add more error checking
2016-11-03 14:46:48 +00:00
robert
168c54d847
use OSREV and OSrev instead of setting them in the makefile
...
and remove variables for MAKE, SIGNIFY, etc.
prodded by deraadt@
2016-09-05 11:55:06 +00:00
robert
aa478f6cf6
allow everything to run as unprivileged user except for fake
...
install and mtree by splitting up some targets
2016-09-04 16:40:34 +00:00
robert
deb476951e
add infrastructure to build syspatches (binary updates to stable)
...
Makefile.000 corresponds to errata_000 which is nonexistent so it
is a good place to provide an example of how to build the others
this is still work in progress, getting it in so people can join
in on the development
ok deraadt@
2016-09-03 21:43:25 +00:00