Daniil Baturin
a05a3660ea
Fix typo in the configure script.
2016-03-03 18:35:18 -05:00
Daniil Baturin
6a7696a112
After build, create a properly named symlink to the ISO (ref T8).
...
This is important for nightly builds, and handy for release builds.
2016-03-03 18:28:31 -05:00
Daniil Baturin
4499a0b196
Adjust build-flavour script to use new json-query script.
2016-03-03 18:27:09 -05:00
Daniil Baturin
2416feb699
Rename query-config to query-json to reflect its new role.
2016-03-03 17:50:40 -05:00
Daniil Baturin
4b78ab4f94
Make the query-config scripts more generic, it requires JSON file name now.
2016-03-03 17:49:54 -05:00
Daniil Baturin
f432d96722
Merge pull request #1 from trickv/errorhandling
...
Enable handling of errors within .ONESHELL targets
2016-02-18 14:12:59 +05:00
Patrick van Staveren
285f967249
silently enable error mode in shell
2016-02-18 00:03:41 +00:00
Patrick van Staveren
775c50d622
Handle errors from subscripts.
...
Makefile .ONESHELL mode means that individual line exit codes
aren't evaluated, only the final return code from the shell,
which will always be zero.
This makes it break earlier when a subscript returns non-zero.
Maybe we shouldn't be using make? ;)
2016-02-18 00:03:24 +00:00
Daniil Baturin
ed63b65af5
Merge branch 'current' of github.com:vyos/vyos-build into current
2016-02-10 18:43:02 -05:00
Daniil Baturin
481b5f0057
Force all lb-config mirror options to debian_mirror from the build config.
2016-02-10 18:42:32 -05:00
Kim Hagen
a83d97ef4e
Add sshd.service file to cleanly close ssh sessions.
2016-02-09 02:59:28 -05:00
Kim Hagen
a70d19d2fd
Revert "Add libpam-systemd package to cleanly close ssh sessions."
...
This reverts commit d414a3742ae9c257710b612419435791a31dc162.
2016-02-08 16:02:53 -05:00
Kim Hagen
d414a3742a
Add libpam-systemd package to cleanly close ssh sessions.
2016-02-08 15:57:41 -05:00
Daniil Baturin
6b6bd49bb5
Merge branch 'current' of github.com:vyos/vyos-build into current
2016-02-06 16:57:04 -05:00
Daniil Baturin
a010662aaa
Add the kernel package as a submodule.
2016-02-06 16:55:10 -05:00
Kim Hagen
9d55d9c93d
Add binary hook for backwards compatibility and a hook that creates symlinks for vmlinuz and initrd.img.
2016-02-05 11:26:15 -05:00
Kim Hagen
89b0d6e89a
Add post install script that will be used by squeeze versions of vyatta/vyos.
2016-02-05 11:14:54 -05:00
Daniil Baturin
cac38de1cb
Fix some dates.
2016-02-03 10:28:33 -05:00
Daniil Baturin
9e49a104fd
Merge branch 'current' of github.com:vyos/vyos-build into current
2016-02-03 10:22:22 -05:00
Daniil Baturin
2b7a2bff88
Add a script for copying various files to the build config dir depending on build flavour.
2016-02-03 10:21:48 -05:00
Daniil Baturin
9d960e5498
Add a script for extracting field values from the build config,
...
for use in shell scripts and the like.
2016-02-03 10:21:00 -05:00
Kim Hagen
ab3d92de1b
Add hook that prevent services from starting at boot.
2016-02-03 06:41:13 -05:00
Kim Hagen
03705b9f85
Removed fuse.conf file, will be generated in hooks
2016-02-03 03:24:47 -05:00
Kim Hagen
dbf2854bb2
Add hooks or live-build.
2016-02-03 03:22:23 -05:00
Kim Hagen
8c29337415
Add kernel version to lb config.
2016-02-03 02:15:43 -05:00
Daniil Baturin
e14ef3ea14
Add some more useful stuff to the utils package list.
2016-02-02 10:03:53 -05:00
Daniil Baturin
111875d03b
Add vyos-world to the base packagelist.
2016-02-01 07:20:24 -05:00
Daniil Baturin
5934bf867b
Add vyos-world as a submodule.
2016-02-01 06:55:07 -05:00
Daniil Baturin
80a5db4e35
Merge branch 'current' of github.com:vyos/vyos-build into current
2016-02-01 06:16:07 -05:00
Kim Hagen
bd0f60a598
Add grub2 to base package list, is needed for installs.
2016-02-01 03:57:44 -05:00
Daniil Baturin
dd54dd008d
Remove the "build successful" message for now.
...
Apparently live-build doesn't return $?>0 correctly for certain failures,
which may lead to misleading success message when the build in fact had failed.
2016-01-29 17:23:57 -05:00
Daniil Baturin
1444f5f3e5
Merge branch 'current' of github.com:vyos/vyos-build into current
2016-01-26 16:12:26 -05:00
Daniil Baturin
cddc611ae3
Add a build step for generating version files.
2016-01-26 16:10:52 -05:00
Daniil Baturin
b0c41b26b9
Add support for --build-type and --version options to configure script.
...
Image version will now be passed in configure option.
As a collateral damage, add support for options without default values.
2016-01-26 15:41:47 -05:00
Daniil Baturin
38a250d627
Add a configure option for selecting build type (release vs dev).
2016-01-26 10:17:14 -05:00
Kim Hagen
ed565077cb
add extra linux cmdline options
2016-01-26 04:52:32 -05:00
Daniil Baturin
4add13956f
Add VyOS package repo, hardcoded for now.
...
This will be a configure option eventually.
2016-01-24 13:59:51 -05:00
Daniil Baturin
24a8a43077
Keep all common live-build config data in data/live-build-config
...
If more granular data modification is needed, it can be stored in other data/ subdirs.
2016-01-24 13:34:15 -05:00
Daniil Baturin
2f10d39a98
Make the config existence check scripts try to actually load the JSON.
2015-12-26 20:19:09 -05:00
Daniil Baturin
90ca7062c1
Add license headers to scripts.
...
Some people rightfully complained about their absense already.
2015-12-26 20:14:08 -05:00
Daniil Baturin
595d17abea
Initial support for pbuilder.
...
Note: pbuilder --create does not work well with relative build path,
base.tgz creation fails.
This led to the build_dir path being absolute.
Perhaps we should make it more granular and only use absolute paths for
pbuilder options.
2015-12-25 18:28:27 -05:00
Daniil Baturin
c0cae8b7fe
Add configure script support for Debian mirror options.
2015-12-24 16:06:34 -05:00
Daniil Baturin
daf94a4bab
Make the configure script create the build/ dir if it doesn't exist.
2015-12-24 12:06:08 -05:00
Daniil Baturin
6e66715c45
Add sudo to required packages, since we use it in scripts.
...
Using sudo from scripts may be objectionable, but I don't see
any alternatives for things that do chroot.
2015-12-24 12:04:24 -05:00
Daniil Baturin
8114cd0efe
Add packages written specifically for VyOS as submodules.
...
Excluded:
Quagga (ideally, we should merge the vyatta changes into upstream).
Kernel and openvmtools (better built separately).
Firmware (better switch to upstream perhaps).
Everything that we used to build just because squeeze had it very outdated.
2015-12-21 15:14:57 -05:00
Daniil Baturin
21acfddce2
Some history and branch information in the README.
2015-12-20 05:15:23 -05:00
Daniil Baturin
6d3fcf76bf
Master branch README.
2015-12-20 05:04:12 -05:00
Daniil Baturin
2018615d55
Add package lists support.
...
The idea is that package lists in data/package-lists/common/
will be used by all build flavours, while special individual
build flavours may have their own additional package lists
defined by configure options.
2015-12-18 08:25:25 -05:00
Daniil Baturin
a0eefcc5e5
Extend the makefile.
...
Split the 'iso' target into 'prepare' and 'iso' so it's possible to
debug the preparation stage without having to start an actual ISO build.
Add build and clean stages. Also add 'purge' target that "factory resets"
the build environment.
Add some tsun-tsun feel to the build log.
2015-12-18 06:57:25 -05:00
Daniil Baturin
8688ace193
Add image data includes copying step to the makefile.
2015-12-18 06:18:18 -05:00