Commit d1dad6a6 authored by Colin Watson's avatar Colin Watson

* Use 'chown 0:0' in all scripts rather than deprecated 'chown 0.0'.

r51751
parent 4434a5e4
debootstrap (1.0.9) UNRELEASED; urgency=low
[ Frans Pop ]
* Error out on unrecognized options to avoid invalid options to be
recognized as arguments.
[ Colin Watson ]
* Use 'chown 0:0' in all scripts rather than deprecated 'chown 0.0'.
-- Frans Pop <fjp@debian.org> Sat, 19 Jan 2008 10:05:26 +0100
debootstrap (1.0.8) unstable; urgency=low
......
......@@ -34,7 +34,7 @@ first_stage_install () {
setup_etc
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
setup_devices
......
......@@ -101,7 +101,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -63,7 +63,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -68,7 +68,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices_fakechroot
......
......@@ -43,7 +43,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
if [ -x "$TARGET/usr/bin/md5sum.textutils" ] && [ \! -e "$TARGET/usr/bin/md5sum" ]; then
......
......@@ -87,7 +87,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -63,7 +63,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -39,7 +39,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -46,7 +46,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -52,7 +52,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
if doing_variant fakechroot; then
......
......@@ -52,7 +52,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
if doing_variant fakechroot; then
......
......@@ -42,7 +42,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
if doing_variant fakechroot; then
......
......@@ -60,7 +60,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -57,7 +57,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -50,7 +50,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
......@@ -57,7 +57,7 @@ first_stage_install () {
setup_etc
if [ ! -e "$TARGET/etc/fstab" ]; then
echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
setup_devices
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment