Rework system & large drives handling logic

Change-type: patch
Changelog-entry: Rework system & large drives handling logic
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
Lorenzo Alberto Maria Ambrosi 2020-07-23 14:50:28 +02:00
parent 2e3978b3c9
commit b4e6970119

View File

@ -700,11 +700,6 @@ describe('Shared: DriveConstraints', function () {
});
it('should return false if the drive is not large enough and is a source drive', function () {
console.log('YAYYY', {
...image,
path: path.join(this.mountpoint, 'rpi.img'),
size: 5000000000,
});
expect(
constraints.isDriveValid(this.drive, {
...image,