File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1101,10 +1101,6 @@ async fn prepare_install(
1101
1101
crate :: cli:: require_root ( ) ?;
1102
1102
require_host_pidns ( ) ?;
1103
1103
1104
- if cfg ! ( target_arch = "s390x" ) {
1105
- anyhow:: bail!( "Installation is not supported on this architecture yet" ) ;
1106
- }
1107
-
1108
1104
let rootfs = cap_std:: fs:: Dir :: open_ambient_dir ( "/" , cap_std:: ambient_authority ( ) )
1109
1105
. context ( "Opening /" ) ?;
1110
1106
Original file line number Diff line number Diff line change @@ -254,8 +254,6 @@ pub(crate) fn install_create_rootfs(
254
254
"BIOS-BOOT" ,
255
255
Some ( "21686148-6449-6E6F-744E-656564454649" ) ,
256
256
) ;
257
- } else if cfg ! ( target_arch = "aarch64" ) {
258
- // Only UEFI here for now
259
257
} else if cfg ! ( target_arch = "powerpc64" ) {
260
258
// PowerPC-PReP-boot
261
259
partno += 1 ;
@@ -266,6 +264,8 @@ pub(crate) fn install_create_rootfs(
266
264
crate :: bootloader:: PREPBOOT_LABEL ,
267
265
Some ( crate :: bootloader:: PREPBOOT_GUID ) ,
268
266
) ;
267
+ } else if cfg ! ( any( target_arch = "aarch64" , target_arch = "s390x" ) ) {
268
+ // No bootloader partition is necessary
269
269
} else {
270
270
anyhow:: bail!( "Unsupported architecture: {}" , std:: env:: consts:: ARCH ) ;
271
271
}
You can’t perform that action at this time.
0 commit comments