diff options
Diffstat (limited to 'scripts/lib/image/canned-wks/uboot.wks')
-rw-r--r-- | scripts/lib/image/canned-wks/uboot.wks | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/lib/image/canned-wks/uboot.wks b/scripts/lib/image/canned-wks/uboot.wks new file mode 100644 index 0000000000..7de0572d0f --- /dev/null +++ b/scripts/lib/image/canned-wks/uboot.wks | |||
@@ -0,0 +1,17 @@ | |||
1 | # short-description: . Create a ramdisk image for U-Boot | ||
2 | # long-description: Creates a ramdisk image for U-Boot that user | ||
3 | # can directly load it into ram through tftp | ||
4 | # | ||
5 | # part - is a wic command that drive the process of generating a valid file system | ||
6 | # - --source=uboot : wic plugin that generates a ramdisk image for U-Boot | ||
7 | # - --fstype=ext2 : file system type( ext2 / ext3 / ext 4) | ||
8 | # | ||
9 | # %packages %end - option to provide a list of packages that will be installed | ||
10 | # into rootfs. All packages dependencies will be installed by | ||
11 | # package manager(default opkg). | ||
12 | |||
13 | |||
14 | part / --source=uboot --fstype=ext2 --label imageName --align 1024 | ||
15 | |||
16 | %packages | ||
17 | %end | ||