2981 Commits

Author SHA1 Message Date
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
Daniil Baturin
81822aeb7f Add the makefile.
Make a ./configure symlink for the classic feel.
2015-12-17 01:26:12 -05:00
Daniil Baturin
86c6a4bdf2 Add initial drafts of the build scripts. 2015-12-17 01:25:46 -05:00
Daniil Baturin
27fa086f07 Import the license. 2015-12-17 01:25:03 -05:00
Daniil Baturin
b949646fa6 Add a README draft. 2015-12-17 00:34:41 -05:00
Daniil Baturin
8f1c544bff Import the instant git remote switch script. 2015-12-17 00:30:58 -05:00
Daniil Baturin
73a06aa42c Add *.pyc files to gitignore. 2015-12-17 00:30:38 -05:00
Daniil Baturin
8e71eae3a2 Initial commit. 2015-12-16 16:02:03 -05:00