Commit Graph

131 Commits

Author SHA1 Message Date
Shengzhou Liu
1215e014a0 Update for arm64 on builder9 and arm64-nxp-layerscape struct
Signed-off-by: Guo Hanyue <guo.hanyue@nxp.com>
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
2018-04-24 13:46:35 +08:00
Jeffrey Townsend
1297ea341e Clean the REPO prior to transfer. 2018-04-20 14:10:52 +00:00
Jeffrey Townsend
c50b4bf705 Add verbose option. 2018-04-18 17:03:13 -07:00
Jeffrey Townsend
c43e647c02 Allow a package to declare its desired symlink behavior. 2018-04-18 16:35:26 +00:00
Jeffrey Townsend
b0f4a6f209 Fix resolv.conf restoration. 2018-04-15 23:39:29 +00:00
Jeffrey Townsend
43d76e58f6 RFS Management Enhancements
This is a baby step in reorganizing the RFS tools to support arbitrary automation and modification after
the initial multistrap configuration has been performed.

- All RFS modifications are now done under the new OnlRfsContext object.
  - This object mounts/unmounts /dev and /proc
  - This object installs and removes the local resolv.conf so network operations
    can be performed in the chroot context.
2018-04-15 22:43:43 +00:00
Jeffrey Townsend
fca1b92a9f The postinst script now checks /usr/sbin/policy-rc.d
Some complicated service dependencies will fail to configure
under normal circumstances because invoke-rc.d will kill service
start based on policy-rc.d but this is not taken into account when
configuring services that are dependent on that service.

The dependency check fails prior to the policy-rc.d check and as a result
some packages will remain unconfigured after we have finished constructing
the root filesystem. This is ok for most cases but precludes dynamic modification
of that filesystem post-creation and will even cause
those unconfigured services to be restarted the first time a new package is
installed.

Checking policy-rc.d first in the postinst script allows the configuration
step to complete for all services and their dependents to fix these problems.
2018-04-15 22:32:34 +00:00
Jeffrey Townsend
fde45aafd7 Disable ASR generation by default. Packages using ASR must be updated explicitly. 2018-04-05 17:27:21 +00:00
Jeffrey Townsend
e740ba56ab Merge pull request #319 from carlroth/master
Developer optimizations for incremental rootfs builds
2018-03-19 07:23:02 -07:00
Jeffrey Townsend
e37acae2f7 Disable logfile.: 2018-03-18 16:03:46 +00:00
Jeffrey Townsend
04cc75fc76 Add profiling for ASR generation. 2018-03-16 09:08:21 -07:00
Jeffrey Townsend
21d00075c4 Rudimentary profiling and color enhancements. 2018-03-16 09:06:56 -07:00
Jeffrey Townsend
0b6da573ab Update default versioning scheme for development and release builds.
- Development builds will be marked with the branch and build id.
- Release builds will contain the specific release name and
  a simplified system issue string.
2018-03-14 16:31:31 +00:00
Carl D. Roth
55615155b3 Incremental update/install support
- also add a '--no-configure' flag
2018-02-28 17:41:46 -08:00
Carl D. Roth
7aa876cda4 Enable the --lookup feature 2018-02-28 17:41:16 -08:00
Jeffrey Townsend
316351ce1b Use ONL relative paths. 2018-01-21 20:04:07 +00:00
Jeffrey Townsend
e129347af6 Add an option to enable root accounts after filesystem creation
This is a minor hack. The code should be rearranged to allow
a more natural workflow to modify filesystems post-creation.
2018-01-21 19:09:06 +00:00
Jeffrey Townsend
fafe32df3b Add the option to configure groups. 2018-01-19 08:03:47 -08:00
Jeffrey Townsend
9cd087dcb7 Allow input from both yaml and json. 2018-01-11 20:58:53 +00:00
Jeffrey Townsend
6359a48a65 Enhancements
- All package build step only.
- Evironmental option to skip package scans.
2017-12-31 17:15:14 +00:00
Jeffrey Townsend
dcb4a77b8c Base from $ONL. 2017-12-29 03:36:55 +00:00
Jeffrey Townsend
57195e97ca All editing of an existing json file. 2017-12-27 21:55:49 +00:00
Jeffrey Townsend
8d13652eb6 - Support Debian9
- Deprecate Debian7
2017-08-24 03:22:53 +00:00
Andreas Rammhold
a4cefaf8f5 tools: use /usr/bin/python2 instead of /usr/bin/python
python3 is starting to become the default on all major distributions.
Using `/usr/bin/python2` should be safe for the near future.
2017-06-30 11:40:29 +02:00
Jeffrey Townsend
fbc38a58b5 Change extract message from warn to info. 2017-05-23 08:12:43 -07:00
Jeffrey Townsend
79a9f9b459 Add post-install update hook.
TODO: parameterize
2017-05-15 14:31:24 -07:00
Jeffrey Townsend
f0c01c6955 The base-files package has a known incompatible assumption about /var/run which fails to work properly when the system was built using multistrap.
This change patches the base-files.postinst script to fix this issue prior to calling dpkg --configure.
2017-05-02 22:52:49 +00:00
Jeffrey Townsend
48bd05aca5 Build missing packages. 2017-02-22 02:10:22 +00:00
Jeffrey Townsend
61686c5b50 Improve output. 2017-02-21 18:43:35 +00:00
Jeffrey Townsend
5b46c04e24 Allow absolute paths (relative to the package root). 2017-02-15 18:36:53 +00:00
Jeffrey Townsend
61f9268995 Allow optional files in package declarations.
Files listed in the new 'optional-files' key will be included if present
but will not report packaging errors if missing.
2017-02-15 15:58:31 +00:00
Jeffrey Townsend
395108618c Add local device tree compiler to support out-of-tree DTS compilation. 2017-02-15 15:56:25 +00:00
Jeffrey Townsend
0b3dd1ba6a Add --ky to add YAML data. 2017-02-08 15:51:06 +00:00
Jeffrey Townsend
4391aed630 Improve comment. 2017-01-08 20:12:37 +00:00
Jeffrey Townsend
f6f9cdc99a - Allow building individual source files
- Allow direct specification of the kernel build tree.
2017-01-01 18:02:19 +00:00
Jeffrey Townsend
216e4f0eed Platform Kernel Module Support
Per-platform kernel modules can now be built out of tree against multiple kernel mbuild packages.
2016-12-31 20:59:27 +00:00
Jeffrey Townsend
d3a1f1546d Allow comma-separated package lists in prerequisites. Makes some templating easier. 2016-12-31 20:58:20 +00:00
Jeffrey Townsend
d332bcc21b Spelling. 2016-12-22 18:13:20 +00:00
Jeffrey Townsend
35f6859251 - Allow comments
- Add patch separator
2016-12-21 22:12:39 +00:00
Jeffrey Townsend
efe66c755b Add newline to issue.net. 2016-12-05 23:02:49 +00:00
Jeffrey Townsend
f10add085e Plugins are optional. 2016-11-29 17:39:36 +00:00
Carl D. Roth
d7958005f3 Updated plugin api
- single run() method is called with a mode argument
- plugin objects are persistent (re-entrant) for the lifetime of the install
- installer grovels the filesystem and/or zip file for plugin files
2016-11-28 12:06:22 -08:00
Carl D. Roth
c50cb2da27 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_install_hook 2016-11-28 10:32:31 -08:00
Carl D. Roth
486f375b4a mkinstaller.py now handles pre/post hooks 2016-11-16 18:57:34 -08:00
Jeffrey Townsend
ab24f9914e Use the new module database infrastructure. 2016-11-16 20:21:04 +00:00
Jeffrey Townsend
0353c52c9d Make boot-config files optional. 2016-11-09 22:23:16 +00:00
Carl D. Roth
001aa48a45 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py
2016-11-04 16:02:18 -07:00
Jeffrey Townsend
d3c65d04dd Remove output. 2016-11-04 21:32:08 +00:00
Jeffrey Townsend
54e292f0ba Factor out file delivery so it can be shared between packaging and release. 2016-11-04 21:16:03 +00:00
Jeffrey Townsend
08977b8e4c Use new unified infra asr too. 2016-11-01 19:23:55 +00:00