File: multi-copy

package info (click to toggle)
swupdate 2024.12.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,732 kB
  • sloc: ansic: 67,854; perl: 6,317; cpp: 1,829; makefile: 1,015; sh: 718; yacc: 613; python: 427; lex: 373; javascript: 229
file content (47 lines) | stat: -rw-r--r-- 1,299 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * SPDX-FileCopyrightText: 2014-2021 Stefano Babic <stefano.babic@swupdate.org>
 * SPDX-License-Identifier: CC0-1.0
 */
software =
{
        version = "0.1";

        hardware-compatibility = [ "revA" ];

        /* differentiate running image modes/sets */
        stable:
        {
                main:
                {
                        images: (
                        {
                                filename = "rootfs.ext3";
                                device = "/dev/mmcblk0p2";
                        }
                        );

                        uboot: (
                        {
                                name = "bootpart";
                                value = "0:2";
                        }
                        );
                };
                alt:
                {
                        images: (
                        {
                                filename = "rootfs.ext3";
                                device = "/dev/mmcblk0p1";
                        }
                        );

                        uboot: (
                        {
                                name = "bootpart";
                                value = "0:1";
                        }
                        );
                };
        };
}