summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-03-15 19:56:26 +0000
committerStew Benedict <stewb@mandriva.org>2005-03-15 19:56:26 +0000
commit6026ccf19a651838544a1fd6ecddf6310d00f6fb (patch)
treec7b35371f402e085b8dc0d0044f5c9be3dd3bc00 /perl-install/install_any.pm
parent80cc3f5b70913861c00475432ec9d1bab05ec2b0 (diff)
downloaddrakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar.gz
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar.bz2
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar.xz
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.zip
Install kernel-xbox on XBOX, bypass bootloader setup and eject call
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index cb5562244..b8073dac3 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -914,6 +914,7 @@ sub ejectCdrom {
#- D state if the cdrom is already removed
eval { fs::umount($o_mountpoint) };
$@ and warnAboutFilesStillOpen();
+ return if is_xbox();
eval {
my $dev = detect_devices::tryOpen($cdrom);
ioctl($dev, c::CDROMEJECT(), 1) if ioctl($dev, c::CDROM_DRIVE_STATUS(), 0) == c::CDS_DISC_OK();