Console autologin
by Lars Bjørndal
I made a livecd based on fedora-livecd-base.ks from spins-kickstarts. I
have two questions:
1. The first tty, tty1, seems to contain logging information, and it
cannot be used to login. I need to switch to another console to be able
to log on. What's the reason for this behaviour, and how to enable login
on tty1?
2. I want autologin as root to the console (for f15). Does anyone have
this working? How can I enable that?
Thanks and regards,
Lars
12 years, 5 months
Changes to 'refs/tags/livecd-tools-17.2'
by Brian C. Lane
Tag 'livecd-tools-17.2' created by Brian C. Lane <bcl(a)redhat.com> at 2011-11-03 22:57 +0000
Tag as livecd-tools-17.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUATrMcaBF+jBaO/jp/AQIQvQgAkkW4ofDHvhV7mGhSk12crCSAY+x9HMDg
IN3p5LAnfOQfekQt0zpCldcZEgFIJlsNFNQnidfGRez9vMEPRHOwHdolNB47Aobd
wc/YFZRhnJmIk6tDVja9m9k6QTBPfCcC2HlQa66pgkqek3C1qlYGUU4WTCDJm7QD
H1jsqebXlYA8XClLtYaL2cd0XFyBwoOM50LU5C31Y2PybqUFu8Kl3T/8S7iCqg95
3Z9RGL4rmxEzeK21re9D85i7b+Qy3BfKsO9ZnhyxyIyvvCFZUhN6sFJJUEQEjnr2
4mA2+X9QRY1YJAVrqX+Pt+HVdsFayDAwx0zn5HqsFB2Nb13raO/Cvg==
=uLsV
-----END PGP SIGNATURE-----
Changes since livecd-tools-17.1:
Brian C. Lane (5):
Stop creating backup image before resizing (#737243)
Only check first match for boot flag (#739411)
Make sure the target is labeled LIVE (#751213)
Fix indent and typo in liveimage-mount (#749643)
Version 17.2
---
Makefile | 2 +-
imgcreate/fs.py | 16 +++++++---------
tools/livecd-iso-to-disk.sh | 41 ++++++++++++++++++++++++-----------------
tools/liveimage-mount | 2 +-
4 files changed, 33 insertions(+), 28 deletions(-)
---
12 years, 5 months
3 commits - Makefile tools/livecd-iso-to-disk.sh tools/liveimage-mount
by Brian C. Lane
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 39 +++++++++++++++++++++++----------------
tools/liveimage-mount | 2 +-
3 files changed, 25 insertions(+), 18 deletions(-)
New commits:
commit 1691e925198580b778e1233eb741146bd2d0c8c1
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 15:57:33 2011 -0700
Version 17.2
diff --git a/Makefile b/Makefile
index d47a466..c2617f8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 17.1
+VERSION = 17.2
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
commit 22c8cbe7a4d9d9dda0806252393e0ea4bd5ce7d2
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 14:34:51 2011 -0700
Fix indent and typo in liveimage-mount (#749643)
diff --git a/tools/liveimage-mount b/tools/liveimage-mount
index 80d67d1..185f070 100755
--- a/tools/liveimage-mount
+++ b/tools/liveimage-mount
@@ -272,7 +272,7 @@ def main():
if os.path.ismount(destmnt):
call(['/bin/umount', destmnt])
if img_type is 'blk':
- m_cow:
+ if dm_cow:
call(['/sbin/dmsetup', '--noudevrules', '--noudevsync',
'remove', dm_cow])
if overlayloop:
commit 47e8800d6ece3472de1abf1bc09e020fd02eb47e
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 14:06:40 2011 -0700
Make sure the target is labeled LIVE (#751213)
Anaconda needs to be able to find the boot device. It does this by
looking for the filesystem labeled LIVE. Previously we set the label
when formatting, but now we always set it to LIVE, even when not
formatting.
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 9c8c878..2db2903 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -534,27 +534,34 @@ checkFilesystem() {
fi
fi
-
- TGTLABEL=$(/sbin/blkid -s UUID -o value $dev)
- if [ -n "$TGTLABEL" ]; then
- TGTLABEL="UUID=$TGTLABEL"
- else
- TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
- if [ -n "$TGTLABEL" ]; then
- TGTLABEL="LABEL=$TGTLABEL"
- else
- echo "Need to have a filesystem label or UUID for your target device"
- if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
- echo "Label can be set with /sbin/dosfslabel"
- elif [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ]; then
- echo "Label can be set with /sbin/e2label"
- elif [ "$TGTFS" = "btrfs" ]; then
- echo "Eventually you'll be able to use /sbin/btrfs filesystem label to add a label."
+ TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
+ if [ "$TGTLABEL" != "LIVE" ]; then
+ if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
+ /sbin/dosfslabel $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "dosfslabel failed on $dev, device not setup"
+ exitclean
+ fi
+ elif [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ]; then
+ /sbin/e2label $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "e2label failed on $dev, device not setup"
+ exitclean
fi
+ else
+ echo "Unknown filesystem type. Try setting its label to LIVE and re-running"
exitclean
fi
fi
+ # Use UUID if available
+ TGTUUID=$(/sbin/blkid -s UUID -o value $dev)
+ if [ -n "$TGTUUID" ]; then
+ TGTLABEL="UUID=$TGTUUID"
+ else
+ TGTLABEL="LABEL=LIVE"
+ fi
+
if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
mountopts="-o shortname=winnt,umask=0077"
fi
12 years, 5 months
Changes to 'refs/tags/livecd-tools-16.9'
by Brian C. Lane
Tag 'livecd-tools-16.9' created by Brian C. Lane <bcl(a)redhat.com> at 2011-11-03 22:56 +0000
Tag as livecd-tools-16.9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUATrMcABF+jBaO/jp/AQISagf9G8za8jFWlHq3KXuaGjNLicGJ+aIIK1Tm
PbQ3GUMukp8RfPFAWdVLtl8agj45mnQSGx8dtxbaTZ/MblqyisfCaHZ/2WwhuBNH
aMhDve7HGHzYbXclDQWP27KAnDmnvOZEilUhj/oX5Ui6iPQvEsHE74K83gobodCZ
Y4J6ftR1PjJdpFvmNAwt8x1c5MCOAEG2nOVtEo7/x0oa9V/mF0QLfQ1mlXtLQJyE
HK1IUUaTPFYlMK2R7lzt0TzdvovDR+pk9yScVArgo0BWV2Q0i0wGXs0fSVEjI6qD
2XXjf8zURdzsQR0Ab5ZjSR3pgF9Swn/4IjI0P+BSMqak/wqCWIEiUQ==
=xo+S
-----END PGP SIGNATURE-----
Changes since livecd-tools-16.8:
Brian C. Lane (3):
Make sure the target is labeled LIVE (#751213)
Fix indent and typo in liveimage-mount (#749643)
Version 16.9
---
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 39 +++++++++++++++++++++++----------------
tools/liveimage-mount | 2 +-
3 files changed, 25 insertions(+), 18 deletions(-)
---
12 years, 5 months
Changes to 'refs/tags/livecd-tools-15.11'
by Brian C. Lane
Tag 'livecd-tools-15.11' created by Brian C. Lane <bcl(a)redhat.com> at 2011-11-03 22:44 +0000
Tag as livecd-tools-15.11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUATrMZZRF+jBaO/jp/AQIVpwgAnw8ejREny2ciCTBivtdsOnoHV/89SZsJ
55GuR+mToRo37fUG9KOWXjGUgrWB6eZj950rNUUMbFzq+xsX1dPcO4kSufv34B7t
agRF0QJirYEzy/XyImeqfgyZK/InN2sg0lfZL+0AVLZSFmpq6250vApRk2IQMBAl
OGaXalEte/bjJVK/sG+KOQqdXrUczPA90kURmYF54BVY+y8dneIxE1rMSDPMtYtf
rEKTT5sMMYRmNmvmnsiyxCdXvXd/q/jni0acoVcmUnoCHVja2eB9PvqEijczhEPr
a4kFK2aZpq6Q+hHoilnwrrM9NAYxSZrGwxeIEWBf5oU1NUweRi/vMw==
=Sgu9
-----END PGP SIGNATURE-----
Changes since livecd-tools-15.10:
Brian C. Lane (2):
Make sure the target is labeled LIVE (#751213)
Version 15.11
---
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 39 +++++++++++++++++++++++----------------
2 files changed, 24 insertions(+), 17 deletions(-)
---
12 years, 5 months
Branch 'f16-branch' - 3 commits - Makefile tools/livecd-iso-to-disk.sh tools/liveimage-mount
by Brian C. Lane
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 39 +++++++++++++++++++++++----------------
tools/liveimage-mount | 2 +-
3 files changed, 25 insertions(+), 18 deletions(-)
New commits:
commit 5f7cf45761ce7fd6ee899c65f02574686b771f1e
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 15:55:31 2011 -0700
Version 16.9
diff --git a/Makefile b/Makefile
index c4a49e9..a2f9f78 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 16.8
+VERSION = 16.9
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
commit 8427cb572f58b3b38f475f5b0663815d52105951
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 14:34:51 2011 -0700
Fix indent and typo in liveimage-mount (#749643)
diff --git a/tools/liveimage-mount b/tools/liveimage-mount
index 80d67d1..185f070 100755
--- a/tools/liveimage-mount
+++ b/tools/liveimage-mount
@@ -272,7 +272,7 @@ def main():
if os.path.ismount(destmnt):
call(['/bin/umount', destmnt])
if img_type is 'blk':
- m_cow:
+ if dm_cow:
call(['/sbin/dmsetup', '--noudevrules', '--noudevsync',
'remove', dm_cow])
if overlayloop:
commit 1ae8a45ffe5dc6f0ed65c4d7fbb9dea203030514
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 14:06:40 2011 -0700
Make sure the target is labeled LIVE (#751213)
Anaconda needs to be able to find the boot device. It does this by
looking for the filesystem labeled LIVE. Previously we set the label
when formatting, but now we always set it to LIVE, even when not
formatting.
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 43c825e..dcc152d 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -534,27 +534,34 @@ checkFilesystem() {
fi
fi
-
- TGTLABEL=$(/sbin/blkid -s UUID -o value $dev)
- if [ -n "$TGTLABEL" ]; then
- TGTLABEL="UUID=$TGTLABEL"
- else
- TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
- if [ -n "$TGTLABEL" ]; then
- TGTLABEL="LABEL=$TGTLABEL"
- else
- echo "Need to have a filesystem label or UUID for your target device"
- if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
- echo "Label can be set with /sbin/dosfslabel"
- elif [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ]; then
- echo "Label can be set with /sbin/e2label"
- elif [ "$TGTFS" = "btrfs" ]; then
- echo "Eventually you'll be able to use /sbin/btrfs filesystem label to add a label."
+ TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
+ if [ "$TGTLABEL" != "LIVE" ]; then
+ if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
+ /sbin/dosfslabel $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "dosfslabel failed on $dev, device not setup"
+ exitclean
+ fi
+ elif [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ]; then
+ /sbin/e2label $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "e2label failed on $dev, device not setup"
+ exitclean
fi
+ else
+ echo "Unknown filesystem type. Try setting its label to LIVE and re-running"
exitclean
fi
fi
+ # Use UUID if available
+ TGTUUID=$(/sbin/blkid -s UUID -o value $dev)
+ if [ -n "$TGTUUID" ]; then
+ TGTLABEL="UUID=$TGTUUID"
+ else
+ TGTLABEL="LABEL=LIVE"
+ fi
+
if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
mountopts="-o shortname=winnt,umask=0077"
fi
12 years, 5 months
Branch 'f15-branch' - 2 commits - Makefile tools/livecd-iso-to-disk.sh
by Brian C. Lane
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 39 +++++++++++++++++++++++----------------
2 files changed, 24 insertions(+), 17 deletions(-)
New commits:
commit 21a214ea5e474861cf9e58de8863b6c0018431ff
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 15:44:26 2011 -0700
Version 15.11
diff --git a/Makefile b/Makefile
index bfff6b5..a71f6f7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 15.10
+VERSION = 15.11
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
commit f1211bafda7d27ffeb80b2a3682cca896b9d60dc
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 14:06:40 2011 -0700
Make sure the target is labeled LIVE (#751213)
Anaconda needs to be able to find the boot device. It does this by
looking for the filesystem labeled LIVE. Previously we set the label
when formatting, but now we always set it to LIVE, even when not
formatting.
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 539efb5..7ce17d6 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -520,27 +520,34 @@ checkFilesystem() {
fi
fi
-
- TGTLABEL=$(/sbin/blkid -s UUID -o value $dev)
- if [ -n "$TGTLABEL" ]; then
- TGTLABEL="UUID=$TGTLABEL"
- else
- TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
- if [ -n "$TGTLABEL" ]; then
- TGTLABEL="LABEL=$TGTLABEL"
- else
- echo "Need to have a filesystem label or UUID for your target device"
- if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
- echo "Label can be set with /sbin/dosfslabel"
- elif [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ]; then
- echo "Label can be set with /sbin/e2label"
- elif [ "$TGTFS" = "btrfs" ]; then
- echo "Eventually you'll be able to use /sbin/btrfs filesystem label to add a label."
+ TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
+ if [ "$TGTLABEL" != "LIVE" ]; then
+ if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
+ /sbin/dosfslabel $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "dosfslabel failed on $dev, device not setup"
+ exitclean
+ fi
+ elif [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" ]; then
+ /sbin/e2label $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "e2label failed on $dev, device not setup"
+ exitclean
fi
+ else
+ echo "Unknown filesystem type. Try setting its label to LIVE and re-running"
exitclean
fi
fi
+ # Use UUID if available
+ TGTUUID=$(/sbin/blkid -s UUID -o value $dev)
+ if [ -n "$TGTUUID" ]; then
+ TGTLABEL="UUID=$TGTUUID"
+ else
+ TGTLABEL="LABEL=LIVE"
+ fi
+
if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
mountopts="-o shortname=winnt,umask=0077"
fi
12 years, 5 months
Changes to 'refs/tags/livecd-tools-16.8'
by Brian C. Lane
Tag 'livecd-tools-16.8' created by Brian C. Lane <bcl(a)redhat.com> at 2011-10-26 13:19 +0000
Tag as livecd-tools-16.8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUATqgI3xF+jBaO/jp/AQK7pQf/bezPsF+QUWnA3sZLbX4n/0tuZ15Au/R6
KRfRSwityZNCEPNP4jZkXIbm75EWhWhkwWRaxJqn8vGWswJcTZjhXf3G8caITh31
MuP4mgk4V6dDLvNl/WkeceJLaZcYD9BG/PrrctBaOVf61fsL4M/rEsPwIo7HpR5M
m9AeyzlzfejgDQaU5TKpgib1axmVjuMhEs/JNtSz0/dfCQaZmPmu8KFz/4qesCwF
g/XWHctTYR2WzejUC+FaXoIY95UpxtlRWB9Sr6iRA83YDNdk6+ftVJ0i5LbOxDNi
yJ0G27jQYGPetrq3Mkkb1SDxaWE+rAcgTBJNzHzz3QqCnXfUl12+9w==
=ZuWQ
-----END PGP SIGNATURE-----
Changes since livecd-tools-16.7:
Brian C. Lane (2):
Correct patch (#748344)
Version 16.8
---
Makefile | 2 +-
imgcreate/live.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
12 years, 5 months
Changes to 'refs/tags/livecd-tools-14.6'
by Brian C. Lane
Tag 'livecd-tools-14.6' created by Brian C. Lane <bcl(a)redhat.com> at 2011-11-03 22:32 +0000
Tag as livecd-tools-14.6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUATrMWkxF+jBaO/jp/AQKsVAgAi5q0WIqenIg0vliE1ceyJMamwwbc4y69
oAo17vEMIy0Y6DGM6gi8JI9q0jR5JiqhzC7q3GRBeHj65PKIz75bMSkVWIy0BE/W
2X5o8o/0wn3UzfkjW8XkgdMxNZ3tTAiHcqe57OpfNaLQKK8j6WLqrCeHuERrbLRi
fcITsPOKT8vBry9/UtzkthDZV1YjfOc9a153bsZ3Lv3BZPnmZHuR+zEHnTfUFXM4
Syq5Hitg1kIJTg/lBQXPGtjAK11uws1nzmSna4CKuZsE+7yf5niqd5NJ0ap3V9CG
nrorV1mJ34K0eyHDgX8uOTKHYoflRPXJMiBIzaly+FE6Hkp8OVSgpg==
=mZU8
-----END PGP SIGNATURE-----
Changes since livecd-tools-14.5:
Brian C. Lane (2):
Make sure the target is labeled LIVE (#751213)
Version 14.6
---
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 43 +++++++++++++++++++++++++------------------
2 files changed, 26 insertions(+), 19 deletions(-)
---
12 years, 5 months
Branch 'f14-branch' - 2 commits - Makefile tools/livecd-iso-to-disk.sh
by Brian C. Lane
Makefile | 2 +-
tools/livecd-iso-to-disk.sh | 43 +++++++++++++++++++++++++------------------
2 files changed, 26 insertions(+), 19 deletions(-)
New commits:
commit 51c67692018d748a9a8b1cb6f57d7a4f6775b82b
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 15:29:50 2011 -0700
Version 14.6
diff --git a/Makefile b/Makefile
index bd23bf8..c15696d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 14.5
+VERSION = 14.6
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
commit 4db4de4ca457799edd2c07bdc85253c1ae22cfb7
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Nov 3 14:06:40 2011 -0700
Make sure the target is labeled LIVE (#751213)
Anaconda needs to be able to find the boot device. It does this by
looking for the filesystem labeled LIVE. Previously we set the label
when formatting, but now we always set it to LIVE, even when not
formatting.
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index e093759..be5efe7 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -278,29 +278,36 @@ checkFilesystem() {
fi
fi
+ USBLABEL=$(/sbin/blkid -s LABEL -o value $dev)
+ if [ "$USBLABEL" != "LIVE" ]; then
+ if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
+ /sbin/dosfslabel $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "dosfslabel failed on $dev, device not setup"
+ exitclean
+ fi
+ elif [ "$USBFS" = "ext2" -o "$USBFS" = "ext3" -o "$USBFS" = "ext4" ]; then
+ /sbin/e2label $dev LIVE
+ if [ $? -gt 0 ]; then
+ echo "e2label failed on $dev, device not setup"
+ exitclean
+ fi
+ else
+ echo "Unknown filesystem type. Try setting its label to LIVE and re-running"
+ exitclean
+ fi
+ fi
- USBLABEL=$(/sbin/blkid -s UUID -o value $dev)
- if [ -n "$USBLABEL" ]; then
- USBLABEL="UUID=$USBLABEL" ;
+ # Use UUID if available
+ USBUUID=$(/sbin/blkid -s UUID -o value $dev)
+ if [ -n "$USBUUID" ]; then
+ USBLABEL="UUID=$USBUUID"
else
- USBLABEL=$(/sbin/blkid -s LABEL -o value $dev)
- if [ -n "$USBLABEL" ]; then
- USBLABEL="LABEL=$USBLABEL"
- else
- echo "Need to have a filesystem label or UUID for your USB device"
- if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
- echo "Label can be set with /sbin/dosfslabel"
- elif [ "$USBFS" = "ext2" -o "$USBFS" = "ext3" -o "$USBFS" = "ext4" ]; then
- echo "Label can be set with /sbin/e2label"
- elif [ "$USBFS" = "btrfs" ]; then
- echo "Eventually you'll be able to use /sbin/btrfs filesystem label to add a label."
- fi
- exitclean
- fi
+ USBLABEL="LABEL=LIVE"
fi
if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then
- mountopts="-o shortname=winnt,umask=0077"
+ mountopts="-o shortname=winnt,umask=0077"
fi
}
12 years, 5 months