Your message dated Mon, 14 Mar 2016 21:43:50 +0000
with message-id <[email protected]>
and subject line Bug#815256: fixed in vmdebootstrap 1.5-1
has caused the Debian Bug report #815256,
regarding vmdebootstrap: Boot partition type is always fat16
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
815256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vmdebootstrap
Version: 1.4-1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When --bootsize and --boottype arguments are passed, the boot partition's file
system type in the partition table is always set to fat16. This is not a
problem for any tool that I care about as filesystem type is determined by
looking at the contents of the partition instead of partition table. It is,
however, a nice thing to set the proper file system type in paritition type.
The attached patch proposes to default to 'Linux' as type and only use 'fat16'
when 'vfat' or 'msdos' are specified as boot partition file system type.
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages vmdebootstrap depends on:
ii debootstrap 1.0.78+nmu1
ii extlinux 3:6.03+dfsg-11
ii kpartx 0.5.0+git1.656f8865-4
ii libjs-sphinxdoc 1.3.5-1
ii mbr 1.1.11-5+b1
ii parted 3.2-15
ii python-cliapp 1.20160109-1
ii python-distro-info 0.14
ii python2.7 2.7.11-3
pn python:any <none>
ii qemu-utils 1:2.5+dfsg-5
Versions of packages vmdebootstrap recommends:
ii grub2-common 2.02~beta2-36
ii python-guestfs 1:1.32.2-3
ii qemu-system 1:2.5+dfsg-5
ii qemu-user-static 1:2.5+dfsg-5
ii squashfs-tools 1:4.3-3
Versions of packages vmdebootstrap suggests:
ii cmdtest 0.22-1
ii pandoc 1.15.1.1~dfsg-2+b3
pn u-boot:armhf <none>
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJWyGaEAAoJEDbDYUQMm8lxCygP/2FsAkKtHZYoOHsK0z0khVqR
BXvBhXWcibQLcJ74pB0xwCvFlGG9fKXKdwPuznNGADved8buAdxA6ozLG4OdBMWn
vtnmez0WycoOfRknU0ogtVtiUU6bpCTnOZHVT17ouvDkHCHix8XF/8TKZbnPgGX7
mxqjEu2Ec7Kwj750b7FmnvTc/9EFx59saqc6IaP+kjcl6b3SQW6kkcW/BzHVV6oc
1/Xgoqhfk3dvzOE3bz5Sr9GC57tcfLZvJiYAtVg94Ao9vJIF53Dd+64m27/8kLaz
K1bS2eGCR9ijUXxJYSg6FE/3+EWJyuZDEIBI7dUY9E/QZCn4cT2pWk7mjiU9Vjx8
TgKobDxclTDHfAT5x17VWsOs+s/9g6HEtYP1hk/QWEWUORly6NnihrRMaFDYYQOr
DSb9bHIaPfNXgFOUZlP0a9C5LXnHYMT8xffFcH2MCJw6RVmck3OG3VO1BOa//O/O
vRagEwxMBLQJF0VAx7gJqoc+SLBxGAdq5C/P/XXczWXNbywkG4bavBmo7nyzXAuR
bsZcjoecGxy8bh15YTk5u0HAD9l7Qr9qLN4Ygm3oaM7BjNzJsD4yUevdXSD8Y5/E
T+J2pnnPNoYpKpw4t/0EydWnJGy7F0sgzVSYG832NS1jMK6bBAvjeF7zDmDbitLU
ZiB66IS7xv13md3FGHvw
=pJI9
-----END PGP SIGNATURE-----
>From 3dd4f061b4117a89f235c843ff0e729f8317a2cf Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa <[email protected]>
Date: Sat, 20 Feb 2016 18:27:41 +0530
Subject: [PATCH 3/3] Create boot partition with proper fs type
- All Linux filesystems should take the type 'Linux' for which the
argument to parted is 'ext2'.
- vfat and msdos file systems should have 'fat16' or 'fat32' type.
Choose 'fat16' which is the earlier default.
---
bin/vmdebootstrap | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap
index 3016945..9eb1f86 100755
--- a/bin/vmdebootstrap
+++ b/bin/vmdebootstrap
@@ -373,6 +373,9 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
# /boot creation - move into base but keep the check
# needs extent, partoffset, bootsize: no return
if self.settings['bootsize'] and self.settings['bootsize'] is not '0%':
+ boot_fs_type = 'ext2'
+ if self.settings['boottype'] in ('vfat', 'msdos'):
+ boot_fs_type = 'fat16'
if self.settings['grub'] and not partoffset:
partoffset = 1
bootsize = self.settings['bootsize'] / (1024 * 1024)
@@ -380,7 +383,8 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
base.message("Using bootsize %smib: %s bytes" % (bootsize, self.settings['bootsize']))
logging.debug("Starting boot partition at %sMB", bootsize)
runcmd(['parted', '-s', self.settings['image'],
- 'mkpart', 'primary', 'fat16', str(partoffset), str(bootsize)])
+ 'mkpart', 'primary', boot_fs_type, str(partoffset),
+ str(bootsize)])
logging.debug("Starting root partition at %sMB", partoffset)
runcmd(['parted', '-s', self.settings['image'],
'mkpart', 'primary', str(bootsize), extent])
--
2.7.0
--- End Message ---
--- Begin Message ---
Source: vmdebootstrap
Source-Version: 1.5-1
We believe that the bug you reported is fixed in the latest version of
vmdebootstrap, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Neil Williams <[email protected]> (supplier of updated vmdebootstrap package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 13 Mar 2016 14:44:53 +0000
Source: vmdebootstrap
Binary: vmdebootstrap
Architecture: source amd64
Version: 1.5-1
Distribution: unstable
Urgency: medium
Maintainer: VMDebootstrap List <[email protected]>
Changed-By: Neil Williams <[email protected]>
Description:
vmdebootstrap - Bootstrap Debian into a (virtual machine) disk image
Closes: 811464 812727 815255 815256
Changes:
vmdebootstrap (1.5-1) unstable; urgency=medium
.
* Improve documentation of SIZE setting. (Closes: #812727)
* Set boot partition type based on boottype.
(Closes: #815256)
* Fix issue with fstab entry for boot partition.
(Closes: #815255)
* Catch typos where the requested size is too small for a
bootstrap. (Closes: #811464)
Checksums-Sha1:
45b958f757835e40f7a486100df2be26c9e81df1 2203 vmdebootstrap_1.5-1.dsc
7799ec0ccc3960605915c247497aa54526c3d17f 51736 vmdebootstrap_1.5.orig.tar.gz
e680c874f4e12b30e6c7b5f83fd1bae4a4279c9b 5328 vmdebootstrap_1.5-1.debian.tar.xz
c5d4508ebbc075abdfa5583f35a7bef6f38d3414 70810 vmdebootstrap_1.5-1_amd64.deb
Checksums-Sha256:
4cb542bfd2fc82318bb2ef7f556336a8a192987600ec412148a2ae6471d00aab 2203
vmdebootstrap_1.5-1.dsc
6bd1908f5fbf575c3f9d2dba597fb3f478755dd0425eec755f9191fda1d853f0 51736
vmdebootstrap_1.5.orig.tar.gz
bcf9026e2bc41fcd86bd90e55c31f988bce665af205bb500557f6515c74ade8d 5328
vmdebootstrap_1.5-1.debian.tar.xz
df57611eda879171602a4121def926c5bb88d024649693232dbace5a905af2b3 70810
vmdebootstrap_1.5-1_amd64.deb
Files:
99ea406d2f6f615f9887e10e36944dec 2203 admin extra vmdebootstrap_1.5-1.dsc
7a690e558a39edf4a5636e97bc16906b 51736 admin extra
vmdebootstrap_1.5.orig.tar.gz
aa0908e38c9f1360943ac2f6055ebf8d 5328 admin extra
vmdebootstrap_1.5-1.debian.tar.xz
91b246fe90d85947d6dedceb6e04656f 70810 admin extra
vmdebootstrap_1.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJW5x++AAoJEPFn5DyBQ7aCWTcP/2k3Az07YNukF8ou/+BH+K4O
YwxbYsIa5vz/O7fjLU1K9B7AKJcaHyja9KDi81sr1XPBYWbW4ywqv7Im+V4N4EUB
VomKHd/aERLPWaBemmdD8zDacLuPvOR04eNO7hjdrv64RQhmqrD2tek3K1r1FRCS
1Xl50e2jHqrabCO6K3EDFGUN4/p9TcZrzaZZ7N/mB08j41xUeNmyoGsBdQs87wLX
ZdLLIT5iX8JgtFw3jkKv8MCng8OQlOMhMzboK7S0jF/ks+uo5zBcMbw3/SKIJLJS
9tbFv2ZOSCZkM6kiAPWgJMYYXF5vMdkOUYbc+kCkPkylQMEkaS8m4WGeu7slf6IH
uP5gR2ELBKPdMM5HzfMkgoN/g0zpWUJiJQbWQJ0W8D8OrvndWrE8NMzIPq15iPTT
z1rYo8O5lA/f29sswnzqlUXKMdKr75yurF98p1R8/UnMkqtLilSaz++AHM2cJeu8
bmxEiTeyWXhZ6NF0NbvSTulh751Oxu3jCYGM48863bG3XZy5KyDxmXa1yTO6tR0x
3TnwagdbbqGttg0AERgcCMVKvxxwzMJBv4Vd9zXsRW5S50Bg6F9HeayybroXwyK3
jUvfchRziHRxLCR61Jj5qK61TfiY3tAPHPNEK74Z83i0yiA1864RUKwZdQzmOqZx
J10CN5pzxdx117By0lv4
=ZViv
-----END PGP SIGNATURE-----
--- End Message ---