mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
- Renamed `ipxeBaseURL` to more generic `bootArtifactsBaseURL` - Removed unwanted lint - Added integration tests to create minimal ISO for external platform with and without bootArtifactsBaseURL in agent-config.yaml - Fixed existing integration tests to include change of name from `ipxeBaseURL` to more generic `bootArtifactsBaseURL` - Added BootArtifactsBaseUrl and bootArtifactsPath into parent asset AgentArtifacts - AgentArtifacts also depends on AgentConfig asset - Moved common code to generate rootfs.img file into extractRootFS() in AgentArtifacts asset - If the bootArtifactsBaseURL is specified, construct the custom rootfs URL otherwise default to the URL from the RHCOS streams file - For external platform when the bootArtifactsBaseUrl is specified, output the rootfs file alongside the minimal ISO - For all other platforms, continue generating full ISO (no explicit rootfs.img is generated) - Vendor changes after updating github.com/openshift/assisted-image-service dependency - set IMAGE_TYPE_ISO to 'minimal-iso' in create-cluster-and-infraenv.service.template when using external platform - Log an info message to upload CCM manifests Signed-off-by: Pawan Pinjarkar <ppinjark@redhat.com>
19 lines
528 B
Go
19 lines
528 B
Go
//go:build !windows && !linux && !darwin
|
|
|
|
package diskfs
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
)
|
|
|
|
// getBlockDeviceSize get the size of an opened block device in Bytes.
|
|
func getBlockDeviceSize(f *os.File) (int64, error) {
|
|
return 0, errors.New("block devices not supported on this platform")
|
|
}
|
|
|
|
// getSectorSizes get the logical and physical sector sizes for a block device
|
|
func getSectorSizes(f *os.File) (logicalSectorSize, physicalSectorSize int64, err error) {
|
|
return 0, 0, errors.New("block devices not supported on this platform")
|
|
}
|