| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into the image and running 'pkg install' from there, use 'pkg fetch' to
download packages into a temporary location and then 'pkg add' to install
them into the image.
This simplifies the code by avoiding the need to copy /etc/resolv.conf
into the image and then delete it later, and makes it possible to cross
build (e.g., to create an amd64 image when running on i386 hardware; or
in the future for building disk images for embedded platforms).
Because pkg was implicitly installed when VM_EXTRA_PACKAGES was non-empty,
add it to VM_EXTRA_PACKAGES in azure.conf and openstack.conf to maintain
the current behaviour.
By default repo-FreeBSD.sqlite is copied into the image, (a) to match
previous behaviour, where the file would be downloaded by the chrooted
pkg invocation; and (b) because it may be useful for testing purposes,
e.g., to see why a package didn't get installed. Because this file is
large (46 MB) and not likely to be useful in -RELEASE images which are
being launched into Clouds several months later, it can be disabled by
setting NOREPOSQLITE.
As far as I know this commit does not change the disk images produced in
any filesystem-visible way.
Notes:
svn path=/projects/release-vmimage/; revision=274773
|
|
|
|
|
|
|
|
|
| |
no swap space should be created in the image. This will be used by EC2
builds, since FreeBSD/EC2 allocates swap space on "ephemeral" disks which
are physically attached to the Xen host node.
Notes:
svn path=/projects/release-vmimage/; revision=274771
|
|
|
|
|
|
|
| |
added by the impending arrival of ec2 and gcloud.
Notes:
svn path=/projects/release-vmimage/; revision=274734
|
|
|
|
|
|
|
|
| |
package it into a disk image. Otherwise we end up packaging an unclean
filesystem.
Notes:
svn path=/projects/release-vmimage/; revision=274729
|
|
|
|
|
|
|
|
|
| |
exist when we're running this.
Unmount filesystems before attempting to destroy the md which holds them.
Notes:
svn path=/projects/release-vmimage/; revision=274726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the build chroot before attempting to do anything that
requires working DNS (i.e., pkg bootstrap).
In vm_extra_pre_umount(), remove the resolv.conf before
the disk image is unmounted from the backing md(4).
Reported by: cperciva
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274725
|
|
|
|
|
|
|
|
| |
Submitted by: jhibbits
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274533
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274356
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274297
|
|
|
|
|
|
|
|
|
|
|
|
| |
scripts/ now that it is consolidated into one file.
Fix paths for the base image and output disk image
files.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274296
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274292
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274288
|
|
|
|
|
|
|
|
|
| |
Remove variable test that is no longer needed.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274287
|
|
|
|
|
|
|
|
|
| |
Actually call vm_create_base().
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274285
|
|
|
|
|
|
|
|
|
| |
in case vmimage.subr has not been sourced.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274284
|
|
|
|
|
|
|
|
|
| |
before use.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274283
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274282
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274281
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
final image.
Fix duplicated mkimg(1) call in vm_create_disk().
Add primitive (untested) PowerPC/PowerPC64 VM image
support.
Note: As it is currently written, the /boot/pmbr and
/boot/{gptboot,boot1.hfs} use the build host and not
the target build. Fixing this is likely going to be
a hack in itself.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There may be some very sharp edges here while refactoring.
- Move amd64/mk-vmimage.sh -> scripts/mk-vmimage.sh.
- Remove vm-base target from Makefile.vm.
- In vm-image target, use getopts flags for argument passing.
- Create tools/vmimage.subr, containing default and prototype
for the following functions that are used to drive the build,
run in this order:
vm_install_base()
vm_extra_install_base()
vm_extra_install_packages()
vm_extra_install_ports()
vm_extra_enable_services()
vm_extra_pre_umount()
vm_create_disk()
vm_extra_create_disk()
- In tools/azure.conf, override:
vm_extra_install_base()
vm_extra_pre_umount()
vm_extra_create_disk()
- In tools/openstack.conf, override:
vm_extra_install_base()
vm_extra_pre_umount()
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274134
|
|
|
|
|
|
|
|
|
| |
Add WITH_CLOUDWARE evaluation to RELEASE_RMAKEFLAGS.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274071
|
|
|
|
|
|
|
|
|
| |
targets in CLOUDTARGETS.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274070
|
|
|
|
|
|
|
|
|
| |
in the env(1).
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=274069
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273944
|
|
|
|
|
|
|
|
|
|
|
| |
No further conversion is necessary for this
VM file target, so there is no need to append
the '.raw' suffix here.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273836
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
openstack images as part of the release build.
This mimics the way Microsoft Azure images are
built, with the addition of installing the
net/cloud-init package and adding a (commented)
rc.conf(5) entry for cloudinit.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273833
|
|
|
|
|
|
|
|
|
| |
panic().
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273826
|
|
|
|
|
|
|
|
|
|
| |
While here, avoid using OSRELEASE for the output
file name.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273825
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
VM images by default.
When WITH_CLOUDWARE is not empty, add CLOUDTARGETS
to the release/Makefile 'release' target.
CLOUDTARGETS is generated from the contents of
CLOUDWARE, which should be a list of all supported
target providers.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273824
|
|
|
|
|
|
|
|
|
| |
options from release/Makefile to their own Makefile.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273823
|
|\
| |
| |
| |
| |
| |
| | |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-vmimage/; revision=273097
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
r272436, r272437, r272792:
r272436:
Remove the first argument to panic(), which was initially
intended to be the exit code, however when a non-zero exit
code was returned to release/Makefile, this would prevent
any remaining (and possibly successful) stages from being
attempted.
r272437:
If the vm-base target fails, prevent the vm-image target
from being run since it cannot possibly succeed.
r272792:
Add /usr/local/bin and /usr/local/sbin to PATH, needed
if third-party software needs to use utilities outside
of the base system during post-install stages (indexinfo
is one culprit).
MFC after: 3 days
X-MFC-10.1: yes
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=273093
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 1 month
Notes:
svn path=/head/; revision=273092
|
| |
| |
| |
| |
| |
| |
| |
| | |
MFC after: 1 month
Reported by: bz
Notes:
svn path=/head/; revision=273091
|
| |
| |
| |
| |
| |
| |
| |
| | |
MFH: 1 month
Reported by: bz
Notes:
svn path=/head/; revision=273090
|
| |
| |
| |
| |
| |
| |
| | |
configs and there is no reason for them not to be here.
Notes:
svn path=/head/; revision=273089
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
existing functions with the exception they use the condition flags to
store the result.
Differential Revision: https://reviews.freebsd.org/D872
Silence from: current@ and numerics@
MFC after: 1 week
Notes:
svn path=/head/; revision=273088
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o convert to if_transmit;
o use rmlock to protect access to gif_softc;
o use sx lock to protect from concurrent ioctls;
o remove a lot of unneeded and duplicated code;
o remove cached route support (it won't work with concurrent io);
o style fixes.
Reviewed by: melifaro
Obtained from: Yandex LLC
MFC after: 1 month
Sponsored by: Yandex LLC
Notes:
svn path=/head/; revision=273087
|
| |
| |
| |
| |
| |
| |
| | |
file where they are defined.
Notes:
svn path=/head/; revision=273086
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=273081
|
| |
| |
| |
| |
| |
| |
| |
| | |
Those pages are highly system-/hardware-specific, the code is incomplete,
and so they hardly can be useful for anybody else.
Notes:
svn path=/head/; revision=273075
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This includes support for:
- Read-Write Error Recovery mode page;
- Informational Exceptions Control mode page;
- Logical Block Provisioning mode page;
- LOG SENSE command.
No real Informational Exceptions features yet. This is only a placeholder.
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=273073
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=273072
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
prevent fatal conflict should one-true-awk ever be replaced -- e.g., in
an appliance -- with GNU awk. NB: Renamed my implementation to _asorti()
MFC after: 3 days
X-MFC-to: stable/10, stable/9
Notes:
svn path=/head/; revision=273068
|
| |
| |
| |
| |
| |
| |
| |
| | |
MFC after: 3 days
X-MFC-to: stable/10, stable/9
Notes:
svn path=/head/; revision=273067
|
| |
| |
| |
| |
| |
| |
| |
| | |
Differential Revision: https://reviews.freebsd.org/D942
Reviewed by: imp
Notes:
svn path=/head/; revision=273066
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows us to use libevent for other application in the future.
For now libevent is still INTERNALLIB and no shared library is installed.
MFC after: 1 month
Notes:
svn path=/head/; revision=273065
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: gjb
MFC after: 2 weeks
Relnotes: yes
Notes:
svn path=/head/; revision=273064
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: Mikhail <mp@lenta.ru>
MFC after: 2 weeks
Relnotes: yes
Notes:
svn path=/head/; revision=273063
|