summaryrefslogtreecommitdiff
path: root/tools/build-on-freebsd
AgeCommit message (Collapse)Author
2017-10-02Remove prettytable dependency, introduce simpletableAndrew Jorgensen
The first revision of this rendered tables with less decoration but there was a desire upstream to avoid possibly breaking some parsing someone might be doing, so it has been revised to render the same as prettytable for the cases cloud-init actually uses.
2017-06-15FreeBSD: Make freebsd a variant, fix unittests and tools/build-on-freebsd.Scott Moser
- Simplify the logic of 'variant' in util.system_info much of the data from https://github.com/hpcugent/easybuild/wiki/OS_flavor_name_version - fix get_resource_disk_on_freebsd when running on a system without an Azure resource disk. - fix tools/build-on-freebsd to replace oauth with oauthlib and add bash which is a dependency for tests. - update a fiew places that were checking for freebsd but not using the util.is_FreeBSD()
2017-05-10FreeBSD: improvements and fixes for use on AzureHongjiang Zhang
This patch targets to make FreeBSD 10.3 or 11 work on Azure. The modifications abide by the rule of: * making as less modification as possible * delegate to the distro or datasource where possible. The main modifications are: 1. network configuration improvements, and movement into distro path. 2. Fix setting of password. Password setting through "pw" can only work through pipe. 3. Add 'root:wheel' to syslog_fix_perms field. 4. Support resizing default file system (ufs) 5. copy cloud.cfg for freebsd to /etc/cloud/cloud.cfg rather than /usr/local/etc/cloud/cloud.cfg. 6. Azure specific changes: a. When reading the azure endpoint, search in a different path and read a different option name (option-245 vs. unknown-245). so, the lease file path should be generated according to platform. b. adjust the handling of ephemeral mounts for ufs filesystem and for finding the ephemeral device. c. fix mounting of cdrom LP: #1636345
2014-09-29tools/build-on-freebsd: e2fsprogs provides blkidScott Moser
2014-09-29tools/build-on-freebsd: add blkid and e2fsprogrsScott Moser
2014-09-29tools/build-on-freebsd: sort pkgs listScott Moser
2014-09-03fix: Since these now actually exist in ports, install them properlyHarm Weites
(with pkg).
2014-08-23change: Rename the config file to cloud.cfg-freebsd so it doesn'tHarm Weites
get copied per default. Packaging will take care of installing this configfile on the BSD platform.
2014-08-23fix: Use the correct variable.Harm Weites
2014-08-22build-on-freebsd: minor cleanups/bikesheddingScott Moser
2014-08-14fix: Install the python package that will install the required link toHarm Weites
the python2.7 binary. This defaults to 2.7, which is fine.
2014-08-10change: Install everything in the right location on both Linux (whichHarm Weites
ofcourse already was good) and FreeBSD (which realy likes /usr/local for this).
2014-08-10change: Save and restore the SSH keys between builds.Harm Weites
2014-08-09change: Make note of another python lib pypi takes care of.Harm Weites
2014-08-09change: Create a symlink to python2.7, to make sure running plain pythonHarm Weites
works.
2014-08-09new: Some datasources (like Smartos) use dmidecode to gather some specificHarm Weites
information, so install it.
2014-08-09fix: More dependencies.Harm Weites
2014-08-09new: Buildscript for installing on FreeBSD. This should do until aHarm Weites
proper port is created.