mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-25 20:26:36 +00:00
feat: support rpi-sdcard image file type (#1648)
Support the rpi-sdcard image file type output by Yocto for the Raspberry Pi device. Change-Id: Ia7e3aef0d90fdf21d373a560e6dd2b96e6b51da8 Changelog-Entry: Add support for `.rpi-sdcard` images.
This commit is contained in:
parent
de62b2e65c
commit
70c79f6127
@ -72,5 +72,9 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
extension: 'sdcard',
|
extension: 'sdcard',
|
||||||
type: 'image'
|
type: 'image'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
extension: 'rpi-sdimg',
|
||||||
|
type: 'image'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -35,7 +35,7 @@ describe('Shared: SupportedFormats', function() {
|
|||||||
|
|
||||||
it('should return the supported non compressed extensions', function() {
|
it('should return the supported non compressed extensions', function() {
|
||||||
const extensions = supportedFormats.getNonCompressedExtensions();
|
const extensions = supportedFormats.getNonCompressedExtensions();
|
||||||
m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard' ]);
|
m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard', 'rpi-sdimg' ]);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user