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:
Michael Marineau 2014-01-05 16:55:28 -08:00
parent 96da63e87e
commit 8418179ff4
2 changed files with 46 additions and 0 deletions

View File

@ -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"
}
}
}
}

View File

@ -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.