Skip to content

Commit a58da1c

Browse files
committed
Use genfatfs from npm package
1 parent b19393d commit a58da1c

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
deps/
2-
obj/
3-
out/
2+
node_modules/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"nodeos-initramfs": "^0.0.0"
1616
},
1717
"dependencies": {
18-
"download-manager": "^0.0.15"
18+
"download-manager": "^0.0.15",
19+
"genfatfs": "nodeos/genfatfs"
1920
}
2021
}

scripts/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ EFIBOOT_IMG=`pwd`/obj/efiboot.img
3838
# Wrap the system up and pack it
3939
#
4040

41-
GENFATFS=deps/genfatfs/genfatfs
41+
GENFATFS=node_modules/genfatfs/genfatfs
4242

4343
function createPartitionImage() {
4444
# Copy kernel and initramfs on the partition image

scripts/preinstall

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ var manager = require('download-manager')
88

99
// Source versions
1010

11-
const GENFATFS_VERSION = "master"
1211
const SYSLINUX_VERSION = "6.03"
1312

1413

1514
// Dependencies URLs
1615

17-
const GENFATFS_URL="https://github.com/NodeOS/genfatfs/archive/"+GENFATFS_VERSION+".tar.gz"
1816
const SYSLINUX_URL="https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-"+SYSLINUX_VERSION+".tar.gz"
1917

2018

@@ -24,15 +22,6 @@ const SYSLINUX_URL="https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinu
2422

2523
var downloads =
2624
[
27-
{
28-
name: 'genfatfs',
29-
url: GENFATFS_URL,
30-
action: function(callback)
31-
{
32-
exec('make', {cwd: join('deps', this.name)}, callback)
33-
}
34-
},
35-
3625
{
3726
name: 'syslinux',
3827
url: SYSLINUX_URL

0 commit comments

Comments
 (0)