Jeffrey Townsend
48af7ec15b
Cleanup rootfs, swi, and installer builds so they can be built in parallel for multiple distributions.
2019-02-05 22:46:18 +00:00
Jeffrey Townsend
a7e4cde8dc
Add the debian release number as part of the installer name.
2019-02-04 20:43:48 +00:00
Jeffrey Townsend
d554708b87
Merge pull request #479 from OrdnanceNetworks/fix-onlversion-subst
...
mkinstaller.py: Substitude ONLVERSION in installer.sh.in template
2018-12-26 09:09:56 -08:00
Jeffrey Townsend
96a697bdcc
Tool updates to support armhf.
2018-12-25 15:42:07 +00:00
Sergey Popovich
ce306bfe03
mkinstaller.py: Substitude ONLVERSION in installer.sh.in template
...
To show ONL version at image installation time add --onl-version
option to mkinstaller.py and pass VERSION_STRING to it.
Fixes: 9a98e40c09 ("Use the new mkinstaller script.")
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-11-07 00:03:42 +02:00
Carl D. Roth
f761378827
Use a longer wait during debug installs
...
- else the serial console speed gets in the way
2018-05-02 16:37:16 -07:00
Sander Tolsma
a1176d5df1
Fix wrong filetest for postinstall.sh
...
The wrong filename was tested for existence.
2018-02-23 07:42:13 +01:00
Carl D. Roth
6aadd03984
Clean up platform detection
...
- export /etc/machine.conf settings to installer.conf
- better handling of machine.conf bits during onie chroots (debug)
2018-01-03 16:34:27 -08:00
Carl D. Roth
19d289c456
Use onie-sysinfo rather than /etc/machine.conf
2017-12-26 17:48:39 -08:00
Carl D. Roth
90489177a5
Unmount the ESP directory for launching the installer
2017-08-22 16:12:22 -07:00
Carl D. Roth
766f37e7b3
Proactively fix GPT partition tables, see SWL-3971
...
- try to find the boot device
- try to determine if the boot device is GPT
- use sgdisk to correct simple errors
2017-08-08 19:51:05 -07:00
Sung-Kuang (Max) Chung
54e4c572a0
Added community support email opennetworklinux@googlegroups.com,
...
as support@bigswitch.com "is a support line for commercial Big Switch
products for customer with paid licenses."
2016-12-07 17:21:30 -08:00
Carl D. Roth
ee551d5968
Updated plugin api docs
2016-11-28 13:34:08 -08:00
Carl D. Roth
6448819434
Updated plugin api docs
2016-11-28 13:31:34 -08: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
df84b39c27
Added docs
2016-11-17 13:16:16 -08:00
Carl D. Roth
aea86e8726
Added sample hook scripts to u-boot installer
2016-11-17 12:20:51 -08:00
Carl D. Roth
2dfb813f82
Add sample scripts to the ONL installer
2016-11-16 18:56:09 -08:00
Carl D. Roth
f088db5372
Support pre/post install scripts
...
- refactor unzip handling a bit
- better support for file excludes using a tempdir
- run pre/post hooks using well-known script names
2016-11-16 18:55:53 -08:00
Carl D. Roth
5aa3212f64
Sample pre/post scripts and plugins, needs docs
2016-11-16 18:54:54 -08:00
Shengzhou Liu
1ed3041b9d
Add arm64 support for build and installer
2016-08-17 00:57:01 +08:00
Jeffrey Townsend
2e7df5b080
Populate the ONL-CONFIG partition with a README.
...
- This is mostly infrastructure prove-out.
2016-08-12 19:03:04 +00:00
Jeffrey Townsend
bae64e90ab
Adjust for Debian version compliance.
2016-08-11 15:48:57 +00:00
Carl D. Roth
ae1798a75b
Add missing ONIE label-finder, fix bugs in blkid scanner
2016-07-27 15:08:05 -07:00
Carl D. Roth
ac6f246291
Remount onie-boot if necessary
2016-07-22 13:27:58 -07:00
Carl D. Roth
50f43798e9
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
...
Conflicts:
builds/any/installer/grub/builds/Makefile
builds/any/installer/uboot/builds/Makefile
packages/base/all/initrds/loader-initrd-files/src/lib/boot1
packages/base/all/vendor-config-onl/PKG.yml
packages/base/all/vendor-config-onl/src/python/onl/mounts/__init__.py
2016-07-21 12:39:10 -07:00
Jeffrey Townsend
137158ca1c
Add missing SWI option.
2016-07-13 18:16:51 +00:00
Jeffrey Townsend
9a98e40c09
Use the new mkinstaller script.
2016-07-11 21:54:31 +00:00
Jeffrey Townsend
0d42121939
Fix name.
2016-07-08 19:17:29 +00:00
Jeffrey Townsend
76d8a0aea3
The legacy installers have been removed.
2016-06-20 15:05:48 +00:00
Carl D. Roth
c4669a6dc0
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
...
Conflicts:
builds/amd64/installer/legacy/builds/Makefile
builds/any/installer/grub/builds/Makefile
builds/any/installer/legacy/fit/builds/Makefile
builds/any/installer/uboot/builds/Makefile
packages/base/all/initrds/loader-initrd-files/PKG.yml
packages/platforms-closed
2016-05-26 14:42:37 -07:00
Carl D. Roth
14870ac7b7
Build directory-based installers
...
- move default installer to 'swi' directory
- add BOOTMODE salt to deb and installer name
2016-05-26 14:07:33 -07:00
Jeffrey Townsend
37372b322e
Rename the legacy installer as such.
...
If will be removed once the new installers are fully qualified on all platforms.
2016-05-25 11:13:45 -07:00
Jeffrey Townsend
4bfad168fb
Include the version files contents as PKG variables.
2016-05-20 01:25:48 +00:00
Jeffrey Townsend
9057eb80e2
Version files moved.
2016-05-20 01:25:36 +00:00
Jeffrey Townsend
266608c85a
Rename the legacy installer as such.
...
If will be removed once the new installers are fully qualified on all platforms.
2016-05-17 01:39:34 +00:00
Jeffrey Townsend
3646da03a3
The new-hotness installer is now the regular-hotness installer.
2016-05-16 16:55:18 -07:00
Jeffrey Townsend
4f56199c35
The new-hotness installer is now the regular-hotness installer.
2016-05-16 23:47:15 +00:00
Jeffrey Townsend
76ed0a772c
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
...
Conflicts:
builds/any/rootfs/jessie/common/common-packages.yml
builds/any/rootfs/wheezy/common/common-packages.yml
2016-05-16 14:18:18 -07:00
Carl D. Roth
b7c148efcd
installer fixes for arm
...
- Fixed arch typo
2016-05-16 11:51:04 -07:00
Carl D. Roth
d67d6d97b7
installer fixes for amd64
...
- unmount filesystems before the chroot
2016-05-16 11:44:21 -07:00
Carl D. Roth
0e6f10c92a
Minor installer fixes
...
- handle powerpc architecture renames
- pass --force flag for GPT installs
2016-05-13 11:54:29 -07:00
Carl D. Roth
1d19e6fd66
Fixed conditional for arch test
2016-05-13 11:32:49 -07:00
Carl D. Roth
2915cbb35b
Minor tmpfs fixes
...
- don't unmount /tmp
- fix bind-mount target so chroot can see the installer file
2016-05-11 13:56:40 -07:00
Carl D. Roth
d7d53cdedd
Installer script overhaul
...
- support lazy unzip within python installer
- properly locate or create a tmpfs for expanding the installer
- properly resize the tmpfs (and restore it)
- export the installer zip file to the install routines
2016-05-10 18:27:01 -07:00
Jeffrey Townsend
c7c30e87ef
Allow environmental override for the ONL_BOOT partition size.
...
- Mostly for testing.
2016-05-10 20:16:34 +00:00
Jeffrey Townsend
fb55df63fd
Allow for installer and architecture-specific tools packages.
2016-05-10 19:47:05 +00:00
Jeffrey Townsend
0545803bb0
Allow for extra installer files.
2016-05-10 19:46:25 +00:00
Carl D. Roth
e63baed466
Overhaul tmpfs support
...
- find a suitable TMPDIR that is actually tmpfs/ramfs
- resize tmpfs/ramfs as needed
- enable unzip overwrite mode
2016-05-10 12:04:03 -07:00
Carl D. Roth
227a61b210
Clean up arch handling for ppc and arm
2016-05-09 12:00:55 -07:00