18 Commits

Author SHA1 Message Date
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
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