History log of /src/distrib/utils/embedded/conf/x86.conf |
Revision | | Date | Author | Comments |
1.13 |
| 29-Dec-2024 |
jmmv | Recognize MKPOSTFIX=no in mkimage
|
1.12 |
| 27-Dec-2024 |
christos | Remove duplicated code, handle minwrites in _normal the same way we handle it in _gpt. Initial patch from jmmv@.
|
1.11 |
| 27-Sep-2023 |
riastradh | /etc/rc.d/cerctl_init: New script for certctl rehash in live images.
This is very limited -- it does not supplant postinstall to rehash certificates on upgrade; it only runs certctl rehash if /etc/openssl/certs is an empty directory, as you get in live images not created with sysinst.
We could also have a more general-purpose way to run postinstall(8) on first boot of an image, but that has a lot more moving parts to think about, so let's start with this limited-scope low-risk approach.
PR install/57629
XXX pullup-10
|
1.10 |
| 06-Jul-2021 |
jmcneill | branches: 1.10.2; Disable kernfs on live images -- it is not required.
|
1.9 |
| 23-Dec-2020 |
rin | Fix fallout from mkimage rev 1.76.
For mkimage:
- Update "size" if auto-calculated. - Use "dd bs=1" instead of non-portable "head -c". - Some style nits.
For MD make_label() functions:
- Stop using "newsize" as image size in MB, use "size" instead.
|
1.8 |
| 28-Nov-2017 |
kre | Be more precise about exactly what fails when something does.
Relying upon set -e to abort things is sort of OK (it is not a recommended option to use in general - too many odd special cases), but only if user can work out from the "build failed" what actually went wrong.
Tested only on amd64 build (for this, i386 is the same) - if anyone has problems on builds for other systems, please let me know. However the changes affect only failure paths, the most likely problem would be for a build to fail to halt on an error, and I hope I have avoided that. There should be no difference at all to error-free builds.
|
1.7 |
| 29-Jan-2015 |
skrll | Fix previous so that the new generated rc.conf is picked up and that any new new mount points (e.g. /proc and /kern) are generated.
While here increate the fs size so that postfix can actually build /etc/mail/aliases.db
|
1.6 |
| 23-Jan-2015 |
skrll | PR/49596: mkimage: incorrect permissions on evbarm images
Use NetBSD.dist in our mtree specification to populate the top level directories, etc.
For each generated file hand craft an mtree entry.
Remove specialdirs as NetBSD.dist creates /proc and /kern.
|
1.5 |
| 14-Dec-2014 |
christos | fix image building: - round up the total size of the disk image - fix fdisk offset for netbsd ffs images
|
1.4 |
| 04-Apr-2014 |
christos | branches: 1.4.4; 1.4.6; 1.4.8; merge more, and add an i386 image
|
1.3 |
| 31-Mar-2014 |
christos | remove swap; these days x86 machines don't need it.
|
1.2 |
| 31-Mar-2014 |
christos | these changes produce a bootable system under qemu, but its root is trashed.
|
1.1 |
| 31-Mar-2014 |
christos | Add preliminary support for creating x86 usb sticks with mkimage. This is untested, and just a checkpoint of the work. Image looks ok, but I have not tried if it boots.
|
1.4.8.2 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.4.8.1 |
| 04-Apr-2014 |
tls | file x86.conf was added on branch tls-maxphys on 2014-08-19 23:45:45 +0000
|
1.4.6.3 |
| 06-Aug-2015 |
snj | Pull up following revision(s) (requested by skrll in ticket #909): distrib/sets/lists/etc/mi: revision 1.237 distrib/sets/lists/tests/mi: revision 1.613 distrib/utils/embedded/conf/armv7.conf: revisions 1.1, 1.2 distrib/utils/embedded/conf/beagleboard.conf: delete distrib/utils/embedded/conf/evbarm.conf: revisions 1.21, 1.22 distrib/utils/embedded/conf/rpi.conf: revisions 1.28, 1.29 distrib/utils/embedded/conf/rpi_inst.conf: revisions 1.7, 1.8 distrib/utils/embedded/conf/usermode.conf: revision 1.5 distrib/utils/embedded/conf/x86.conf: revision 1.5 distrib/utils/embedded/files/resize_disklabel: revision 1.1 distrib/utils/embedded/mkimage: revisions 1.49, 1.55-1.59 etc/defaults/rc.conf: revision 1.133 etc/etc.evbarm/Makefile.inc: revisions 1.72, 1.76 etc/rc.d/Makefile: revision 1.93 via patch etc/rc.d/resize_root: revisions 1.1-1.3 etc/rc.d/root: revision 1.5 sbin/resize_ffs/Makefile: revision 1.5 sbin/resize_ffs/resize_ffs.8: revisions 1.14-1.16 sbin/resize_ffs/resize_ffs.c: revisions 1.39-1.44 share/man/man5/rc.conf.5: revision 1.158, 1.159 tests/sbin/resize_ffs/Makefile: revision 1.4 tests/sbin/resize_ffs/common.sh: revision 1.14 tests/sbin/resize_ffs/t_check.sh: revision 1.1 tests/sbin/resize_ffs/t_grow.sh: revision 1.9 tests/sbin/resize_ffs/t_grow_swapped.sh: revision 1.3 tests/sbin/resize_ffs/t_shrink.sh: revision 1.8 tests/sbin/resize_ffs/t_shrink_swapped.sh: revision 1.2 fix image building: - round up the total size of the disk image - fix fdisk offset for netbsd ffs images -- Make get_dev_size work on regular files too. -- Use `!= -1' instead of `== 0' out of paranoia. -- - Add -c to check to see if grow/shrink is required - Divide by DEV_BSIZE when returning size of file. - Update manpage -- New sentence, new line. Sort option descriptions. -- Add resize_root boot operation. If resize_root=YES in rc.conf then the system attempts to resize the root file system to fill it's partition prior to mounting read-write. Useful for things like AMI file system images. May eventually be used by arm images after coming up with similar solution for increasing the parition size. -- - Add new tests for -c check flag in resize_ffs -- Bump date for previous. it's -> its -- Handle case in grow() where last cylinder group is too small for ufs2. Align with code in shrink(). -- factor out geometry calculation and use this also in CheckOnly mode. be a bit more verbose in Verbose mode. -- Add support for auto-growing the root partition. Enable it for rpi.img. -- initialize resize before pulling in board config -- add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars -- if the -p flag is specified, display a progress bar while growing the file-system -- show resize_ffs progress bar when resizing root partition -- fix typo in previous; pass -y unconditionally to resize_ffs, not -p -- Rename beagleboard.img to armv7.img. The new image includes the same kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1, Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi. -- Properly spell X' name. From X(7): The X.Org Foundation requests that the following names be used when referring to this software: X X Window System X Version 11 X Window System, Version 11 X11 -- Add some documentation: Tell what this does, and what it expects from conf files -- Cleanup: make_filesystems is not used any longer, purge remains -- More cleanup: Instead of first overwriting the *_evbarm functions with own code, and then calling them from the regular functions, directly put the code into the regular functions. No more functions from evbarm.conf are used now. Some variables are still used! -- define TOOL_MKUBOOTIMAGE for mkimage -- fix mkubootimage
|
1.4.6.2 |
| 29-Jan-2015 |
martin | Pull up following revision(s) (requested by skrll in ticket #470): distrib/utils/embedded/mkimage: revision 1.52 distrib/utils/embedded/conf/x86.conf: revision 1.7 distrib/utils/embedded/conf/evbarm.conf: revision 1.20 Fix previous so that the new generated rc.conf is picked up and that any new new mount points (e.g. /proc and /kern) are generated. While here increate the fs size so that postfix can actually build /etc/mail/aliases.db
|
1.4.6.1 |
| 28-Jan-2015 |
martin | Pullup rev 1.6, requested by skrll in ticket #465
|
1.4.4.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.4.4.1 |
| 04-Apr-2014 |
yamt | file x86.conf was added on branch yamt-pagecache on 2014-05-22 12:01:34 +0000
|
1.10.2.1 |
| 02-Oct-2023 |
martin | Pull up following revision(s) (requested by riastradh in ticket #381):
distrib/utils/embedded/conf/evbarm.conf: revision 1.42 distrib/sets/lists/etc/mi: revision 1.273 etc/rc.d/Makefile: revision 1.118 distrib/utils/embedded/conf/usermode.conf: revision 1.7 etc/rc.d/certctl_init: revision 1.1 distrib/evbarm/liveimage/armimage/rc.conf.armimage: revision 1.2 etc/defaults/rc.conf: revision 1.166 distrib/amd64/liveimage/emuimage/rc.conf.emuimage: revision 1.3 distrib/utils/embedded/conf/x86.conf: revision 1.11 distrib/utils/embedded/conf/evbmips.conf: revision 1.4
/etc/rc.d/cerctl_init: New script for certctl rehash in live images.
This is very limited -- it does not supplant postinstall to rehash certificates on upgrade; it only runs certctl rehash if /etc/openssl/certs is an empty directory, as you get in live images not created with sysinst.
We could also have a more general-purpose way to run postinstall(8) on first boot of an image, but that has a lot more moving parts to think about, so let's start with this limited-scope low-risk approach.
PR install/57629
/etc/rc.d/certctl_init: Default off. Otherwise in systems without certctl_init=YES, such as systems installed with sysinst(8) where it's unnecessary because the rehash has already happened at install time, you'll get spurious warnings.
|