mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
fix(build_library): Add amd64-usr board and disk layouts.
The basic infrastructure to support this is now in place. Add a new board that uses the experimental coreos/amd64/usr profile /usr based disk layouts. This is just enough to successfully build images, they aren't bootable yet.
This commit is contained in:
parent
96da63e87e
commit
8418179ff4
@ -74,6 +74,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"base-usr":{
|
||||
"3":{
|
||||
"label":"USR-A",
|
||||
"mount":"/usr"
|
||||
},
|
||||
"4":{
|
||||
"label":"USR-B"
|
||||
},
|
||||
"9":{
|
||||
"label":"ROOT",
|
||||
"mount":"/",
|
||||
"binds":{}
|
||||
}
|
||||
},
|
||||
"vm":{
|
||||
"9":{
|
||||
"label":"STATE",
|
||||
@ -81,12 +95,42 @@
|
||||
"blocks":"6291456"
|
||||
}
|
||||
},
|
||||
"vm-usr":{
|
||||
"3":{
|
||||
"label":"USR-A",
|
||||
"mount":"/usr"
|
||||
},
|
||||
"4":{
|
||||
"label":"USR-B"
|
||||
},
|
||||
"9":{
|
||||
"label":"ROOT",
|
||||
"mount":"/",
|
||||
"binds":{},
|
||||
"blocks":"6291456"
|
||||
}
|
||||
},
|
||||
"vagrant":{
|
||||
"9":{
|
||||
"label":"STATE",
|
||||
"type":"data",
|
||||
"blocks":"33587200"
|
||||
}
|
||||
},
|
||||
"vagrant-usr":{
|
||||
"3":{
|
||||
"label":"USR-A",
|
||||
"mount":"/usr"
|
||||
},
|
||||
"4":{
|
||||
"label":"USR-B"
|
||||
},
|
||||
"9":{
|
||||
"label":"ROOT",
|
||||
"mount":"/",
|
||||
"binds":{},
|
||||
"blocks":"33587200"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -22,6 +22,8 @@ CROSS_PROFILES["x86_64-cros-linux-gnu"]="coreos:coreos/amd64/generic"
|
||||
declare -A BOARD_CHOSTS BOARD_PROFILES
|
||||
BOARD_CHOSTS["amd64-generic"]="x86_64-cros-linux-gnu"
|
||||
BOARD_PROFILES["amd64-generic"]="coreos:coreos/amd64/generic"
|
||||
BOARD_CHOSTS["amd64-usr"]="x86_64-cros-linux-gnu"
|
||||
BOARD_PROFILES["amd64-usr"]="coreos:coreos/amd64/usr"
|
||||
BOARD_NAMES=( "${!BOARD_CHOSTS[@]}" )
|
||||
|
||||
# Declare the above globals as read-only to avoid accidental conflicts.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user