History log of /fuchsia/zircon/system/uapp/disk-pave/rules.mk
Revision Date Author Comments
# 11a637e8 12-Sep-2018 Sean Klein <smklein@google.com>

[fs][fidl] Replaced filesystem ioctls with FIDL.

This patch allows "ioctl" to be removed from the
C++ VFS Vnode interface.

IOCTL_VFS_MOUNT_FS -> Mount()
IOCTL_VFS_UNMOUNT_FS -> Unmount()
IOCTL_VFS_UNMOUNT_NODE -> UnmounteNode()
IOCTL_VFS_QUERY_FS -> QueryFilesystem()
IOCTL_VFS_MOUNT_MKDIR_FS -> MountAndCreate()
IOCTL_VFS_GET_DEVICE_PATH -> GetDevicePath()
IOCTL_VFS_WATCH_DIR -> WatchDir()

Test: fs-management / fs / blobfs / fvm tests, df manually

Change-Id: Iefe8ec251ca6b8f4e4578ceb61bae6dff7a59e3d


# 36117845 28-Aug-2018 Sean Klein <smklein@google.com>

[paver][fvm] Implement partition wiping, FVM-resizing, flushing in paver

- Allow the "SkipBlockDevicePartioner" to wipe devices by clearing
the FVM partition.
- Allow paving of FVM images with mismatch slice sizes by overwriting
the underlying FVM.
- Implement "Flushing" in the paver, for block devices which might
have an in-memory cache. Utilize flushing after streaming partitions
and wiping partitions.
- Update the FVM driver to rebind when requested (necessary to
re-initializing FVM with a new slice size).

Test: Manually paving
ZX-2141 #comment In Progress

Change-Id: Iafff65a7ecaf693138061ef631ac429accc6b422


# fc922e59 21-Aug-2018 Petr Hosek <phosek@google.com>

[ulib][gpt] Add missing static dependency on cksum

gpt depends on cksum as static library, that means that anything that
depends on gpt should also link cksum as static library since these
dependencies are propagated transitively.

This wasn't an issue before, but it leads to linking errors when
enabling profiling instrumentation.

Test: manually
Change-Id: I42337e9215da1a344059285008ec3c8bc85523ee


# 938eb719 23-Jul-2018 Suraj Malhotra <surajmalhotra@google.com>

[paver][test] Add unit tests to the paver tool.

Change-Id: Ib61123b3ae8ccc0573928e74a3f9d858757d0014
Tested: runtests -t install-disk-image-test


# 035548f1 25-Jul-2018 Adam Barth <abarth@chromium.org>

[sync] Build with -fvisibility=hidden

ZX-1895 #comment

Test: No behavior change
Change-Id: Ie0345a54693d703638d3718c62321731a3c1c9c6


# c288126b 12-Jul-2018 Suraj Malhotra <surajmalhotra@google.com>

[fzl] Move fs::MappedVmo to fzl::MappedVmo

This is a useful utility outside of the scope of just filesystems.

Change-Id: Id9cfa3d40e7d45dd6dd94242c1a85204f1139bfa
Tested: Run `runtests`


# e63a6d6c 05-Jun-2018 Suraj Malhotra <surajmalhotra@google.com>

[disk-pave] Rewrite paver

An additional abstraction layer of a "device partitioner" interface was
added to the paver to allow for non-GPT device implementation to be
added more easily.

Tested:
Manually tested paving on pixelbook and nuc.
Tested wipe command followed by paving.
Tested paving to same device twice in a row.

Change-Id: I6b0d79c4702e20342e60125d15832e7fbb0b39fe


# 2440abdb 21-Mar-2018 Aaron Green <aarongreen@google.com>

[paver] Add zxcrypt support

This CL adds a flag to FVM sparse containers. This flag
indicates to the disk paver that it should use a zxcrypt volume
on top of the FVM partition. The ability to set the flag in the
host FVM tool will be added in a later CL.

Change-Id: Ica8a416ca7244b1bf8e045ededb2bcfe845092f5


# 08e47b32 29-Jan-2018 Justin Mattson <jmatt@google.com>

[installer] Remove installer

Bye, old friend.

ZX-1423 #done

Change-Id: I130f99973f163c67dc2d081001c058d990b4c936


# 5507776e 05-Dec-2017 Tricia Landers <planders@google.com>

[fvm] Add host & target side support for compressed sparse file

Change-Id: I2ba9350cfbc98e96de7fc0a7a253e9c560ba208b


# ffbc42ed 27-Nov-2017 Sean Klein <smklein@google.com>

[disk-pave] Add support for paving cros devices

Change-Id: I431cbb6961564b87c276f2ee2f977668eb620ac3


# 9702992f 09-Nov-2017 Aaron Green <aarongreen@google.com>

[digest] Switch from cryptolib to uboringssl

This CL switches the SHA-256 implementation for ulib/digest to use
uboringssl, which includes optimized assembly and hardware acceleration
to provide better message digest performance.

Change-Id: Id3dedbc8232b4f4491b19fe46ef9e1415eea7358


# 32741ad1 27-Oct-2017 Brian Swetland <swetland@google.com>

[build] start exporting package descriptions for source packages

Change-Id: Idd4e916dcfee4d9f40cbb82827042b746c8ce987


# ce4d06f1 03-Oct-2017 Sean Klein <smklein@google.com>

[fvm] Provide target-side functionality for streaming sparse FVM to disk

- If a "--fvm" file is provided to the bootserver, it will be
transferred to the target device and paved onto disk. Similarly, if an
"--efi" provided to the bootserver, it will be paved onto a GPT
partition (separately from the first partition in the GPT, to avoid
dual-booting issues).
- Netsvc has been augmented so the tftp protocol can interpret
FVM and EFI files separately from netboot files, and appropriately
stream them to the FVM installer as they arrive.
- "install-disk-image" is a new application, capable of reading from
stdin (which is supplied from netsvc as a pipe) which parses the
images, and writes them to disk.

ZX-1194 #done

Change-Id: Idd6b05d7b4ff8cff81635747cc90e724f2e342d1