Thomas Schraitle
1ea142f2eb
Remove unecessary Travis requirements
2016-02-26 20:00:40 +01:00
Thomas Schraitle
18b5a0f04b
Fix check target
...
Didn't have a basepython line, fixed strange tox error
2016-02-26 19:58:30 +01:00
Marcus Schäfer
5c6bcd50ac
Merge pull request #30 from tomschr/tox-and-travis
...
Use tox in .travis.yml, remove .travis.script
2016-02-26 17:20:40 +01:00
Marcus Schäfer
0d38e7e199
Fixed device map for VolumeManagerBtrfs
...
The return value from get_device must be a map containing
an instance of a DeviceProvider, not only the DeviceProvider
2016-02-26 17:13:37 +01:00
Marcus Schäfer
04764a42df
Refactor use of mount/umount calls
...
Provide a MountManager class and handle all mount/umount
calls in instances of MountManager
2016-02-26 16:50:31 +01:00
Thomas Schraitle
a888de2b77
Use tox in .travis.yml, remove .travis.script
2016-02-26 11:36:06 +01:00
Marcus Schäfer
31bffb7b3d
Don't write grub.cfg to EFI directory
...
Originally the file was written there as reference, but nothing
will ever update that file if the real grub configuration changes.
Thus it doesn't make sense to provide this information (bnc#968270)
2016-02-26 09:31:26 +01:00
Marcus Schäfer
147c0706eb
Refactor grub2 bootloader installation
...
Make use of grub2-install to install the bootloader
2016-02-25 17:18:31 +01:00
Marcus Schäfer
f43546fd59
Changed debug log in case of failed command
...
Also log the stdout data from a failed command. So far we
expected error data on stderr but there are also commands
which print error messages on stdout. It should us at least
worth a debug message with this information
2016-02-25 10:12:39 +01:00
Marcus Schäfer
9c2b77e0b5
Fixed helper/kiwi-boot-packages
...
Take care for packages marked for a specific architecture
2016-02-24 12:09:09 +01:00
Marcus Schäfer
066ad4d8de
Delete unused helper/run-pep8
2016-02-24 11:49:31 +01:00
Marcus Schäfer
9e597e6a53
Adapt make flake target to changed tox target
2016-02-24 11:47:21 +01:00
Marcus Schäfer
c046797909
Merge pull request #29 from tomschr/tox-small-fix
...
Tox Improvements, Part 2
2016-02-24 11:46:03 +01:00
Thomas Schraitle
e48a308228
Add --cover-min-percentage=100 and helper script
2016-02-24 11:38:31 +01:00
Marcus Schäfer
ea4e815eb6
Fixed spec file for kiwi-boot-requires
...
The meta package for the buildservice has to require
the new python3-kiwi package
2016-02-24 11:28:02 +01:00
Thomas Schraitle
96f52b5b14
Use --cover-min-percentage=100 instead of coverage
2016-02-24 11:22:58 +01:00
Thomas Schraitle
4929c206aa
Replace helper/coverage-check with coverage
...
Use --fail-under=99 option which fails for tests under 100%
2016-02-24 11:11:34 +01:00
Marcus Schäfer
8c8fc6bf87
keep packages in yum cache
2016-02-24 11:00:54 +01:00
Thomas Schraitle
3bcc90ad7a
Rename flake -> check, move spell
...
* Move spell target/step to doc.spell
* Call doc.spell in the doc target/step
* Rename flake to check (to make it independant of any tool)
2016-02-24 10:53:29 +01:00
Marcus Schäfer
5de6fd5781
Spelling fixes
2016-02-24 10:37:00 +01:00
Marcus Schäfer
6e90aeaeeb
Merge pull request #27 from tomschr/tox-spell-fix
...
Tox spell fix
2016-02-24 10:27:00 +01:00
Marcus Schäfer
bd0449bc49
Tox setup updates
...
Integrate with Makefile, delete pep8 target from Makefile,
use flake8, update travis script, delete coverage reference,
we want 100% anywhere
2016-02-24 10:24:08 +01:00
Marcus Schäfer
a0102cddbf
Fixed raid_device_test
...
The test did not mock os.path.exists and thus could fail
on systems which uses a raid system
2016-02-24 10:13:43 +01:00
Thomas Schraitle
a3de628ac6
Update word list
2016-02-24 08:24:32 +01:00
Thomas Schraitle
0b751fe513
Remove empty line to avoid error message
...
Avoid following error message:
CRITICAL **: enchant_is_title_case: assertion `word && *word' failed
2016-02-23 21:11:33 +01:00
Thomas Schraitle
cb579a822b
Activate personal spellchecking dictionary
2016-02-23 20:58:12 +01:00
Marcus Schäfer
0d614529e7
Open travis check for all branches
2016-02-23 16:53:02 +01:00
Marcus Schäfer
7692796094
Merge pull request #26 from tomschr/tox-impl
...
Integrate Tox
2016-02-23 16:51:34 +01:00
Marcus Schäfer
6fe0205f0a
Added kiwi-filesystem provides to spec template
...
The main python3-kiwi package provides support for these
filesystem image types
2016-02-23 16:29:35 +01:00
Thomas Schraitle
a9d0eddd89
Integrated Tox
...
* First incarnation of tox.ini
* Extend MANIFEST.in
* Add doc/requirements.txt
* Extend conf.py with 'sphinxcontrib.spelling' extension
* Add wordlist to doc/source/spelling_wordlist.txt
* Add flake8 section in setup.cfg
2016-02-23 15:57:56 +01:00
Marcus Schäfer
9c2c868889
Fixed cmdline lookup
...
Only check contents of cmdline if it is not None
2016-02-23 14:38:31 +01:00
Marcus Schäfer
0eeb37bf2e
No fdupes checking required anymore
2016-02-23 12:38:27 +01:00
Marcus Schäfer
ef2fca16c1
Don't track root/usr/share/locale in boot images
...
The data there is now generated by the make po target
2016-02-23 12:25:37 +01:00
Marcus Schäfer
3bdaaa9f2d
Fixed fuzzy i18n for en_US/LC_MESSAGES/kiwi.po
2016-02-23 12:01:03 +01:00
Marcus Schäfer
8cb70923d0
Added kiwi-image provides to spec template
...
The main python3-kiwi package provides support for these
image types.
2016-02-23 11:32:36 +01:00
Marcus Schäfer
221d937d02
Prevent any output if quiet is set
...
If exec >/dev/null is run before setterm clears the screen,
then "Failed to find cpu0 device node" is displayed even if
quiet is set.
2016-02-23 09:50:55 +01:00
Marcus Schäfer
61fc3b5836
Fixed shell syntax in grub2 template
...
Fixes (bnc#961334)
2016-02-23 08:56:27 +01:00
Marcus Schäfer
cc6584df34
Refactor suseStripKernel
...
The way the method downsizes the kernel tree is wrong in
several places and very hard to read. Therefore the code
has been refactored and splitted into task methods which
can run independently from each other. As one result the
kernel tree is not missing any metadata and/or update
weak-updates paths anymore. Fixes (bnc#965830)
2016-02-22 17:47:16 +01:00
Marcus Schäfer
17c1c1690d
Remove flush before resize filesystem
...
According to the manpage, -F is flushing the fileystem buffer
caches. which is only really useful for doing resize2fs time
trials. With current Tumbleweed installed on MMC, -F triggers
a Inappropriate ioctl for device while trying to flush error,
and then fails to resize.
2016-02-22 09:54:21 +01:00
Marcus Schäfer
802378b830
Update arm boot image descriptions
...
Grub2 adds 35MB to the initrd for no reason on armv6/v7, as
those images use u-boot scripts for booting.
2016-02-22 09:50:30 +01:00
Marcus Schäfer
e3bbd331f3
Fixed checkFileSystem call
...
In the refactoring fc363cc, the parameters of checkFileSystem got
changed to expect the device name, but one of the invocations didn't
pass down the device name due to a typo.
2016-02-22 09:47:46 +01:00
Marcus Schäfer
725e1197d9
Merge pull request #22 from tomschr/readme
...
Improve consisteny of README
2016-02-21 23:37:29 +01:00
Marcus Schäfer
4d98babb27
Merge pull request #24 from tomschr/codesmells
...
Fix Codesmells
2016-02-21 23:35:15 +01:00
Marcus Schäfer
92ea6504a6
Ignore fdasd errors
...
Like fdisk, fdasd also reports an error when re-reading the
partition table. But the table was written correctly so we
continue for the moment and add a debug message
2016-02-21 23:29:10 +01:00
Marcus Schäfer
d522d69a52
Fixed boot image result filename
...
Has to follow the naming convention
2016-02-21 22:46:07 +01:00
Marcus Schäfer
fd8c2b75bd
Fixed pxe builder kernel/hypervisor target path
2016-02-21 22:46:07 +01:00
Marcus Schäfer
bb57bfc949
Use bytes type with hashlib
2016-02-21 22:20:12 +01:00
Marcus Schäfer
62ebb7e098
Refactor result bundler
...
instead of being clever in the result bundler we should be
more explicit when adding a result to the result instance.
Therefore the result.add method now also allows to specify
if this result should be part of a result bundle and whether
it should be placed compressed or uncompressed in this bundle
2016-02-21 21:32:19 +01:00
Marcus Schäfer
37ae59cbc1
Added metadata rpm files to all builders
...
rpm packages and verification information is now added to
all builder results. Fixes #13
2016-02-21 21:32:06 +01:00
Marcus Schäfer
3a2c3554fc
Added the following system setup methods
...
export_rpm_package_list and export_rpm_package_verification
Used to provide rpm package metadata and verification information
for rpm based image builds
2016-02-21 21:05:24 +01:00