Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

du: Implement -b #177

Closed
wants to merge 1 commit into from
Closed

du: Implement -b #177

wants to merge 1 commit into from

Conversation

chirayudesai
Copy link

This comes straight from http://lists.landley.net/htdig.cgi/toybox-landley.net/2019-December/011304.html

I needed it as a band-aid while building Android.

The Android build system calls toybox du to calculate some sizes 1
I build on zfs compression enabled volume, which means that the current du -k -s does not return the correct size. Adding -b does get close to the actual size, enough that a quick smoke test build boots. cc @enh-google

@landley
Copy link
Owner

landley commented Mar 26, 2020

Applied, commit cc803fb

@landley landley closed this Mar 26, 2020
@chirayudesai
Copy link
Author

Thanks for the super-fast merge!

AOSP patch for reference: https://android-review.googlesource.com/c/platform/build/+/1269603

@chirayudesai chirayudesai deleted the dub branch March 26, 2020 22:54
lineageos-gerrit pushed a commit to LineageOS/android_build that referenced this pull request May 14, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
AICP-Gerrit pushed a commit to AICP/build that referenced this pull request May 14, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
SKULSHADY pushed a commit to Havoc-OS/android_build that referenced this pull request May 14, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
markakash pushed a commit to LucidProject/platform_build that referenced this pull request May 15, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
blissgerrit pushed a commit to BlissRoms/platform_build_make that referenced this pull request May 15, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
NurKeinNeid pushed a commit to DerpFest-Ten/platform_build that referenced this pull request May 16, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
mamutal91 pushed a commit to AOSPK/build that referenced this pull request May 17, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
uditkarode pushed a commit to P-404/platform_build that referenced this pull request May 19, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
Signed-off-by: Udit Karode <udit.karode@gmail.com>
pixelexperiencebot pushed a commit to PixelExperience/build that referenced this pull request May 19, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a2044)
pixelexperiencebot pushed a commit to PixelExperience/build that referenced this pull request May 19, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
uditkarode pushed a commit to P-404/platform_build that referenced this pull request May 20, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
Signed-off-by: Udit Karode <udit.karode@gmail.com>
Subinsmani pushed a commit to SuperiorOS/android_build that referenced this pull request May 20, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
Signed-off-by: Sipun Ku Mahanta <sipunkumar85@gmail.com>
uditkarode pushed a commit to P-404/platform_build that referenced this pull request May 20, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
Signed-off-by: Udit Karode <udit.karode@gmail.com>
PMS22 pushed a commit to FireHound/android_build that referenced this pull request May 23, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
Anush02198 pushed a commit to LLuviaOSTest/platform_build that referenced this pull request May 24, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
Signed-off-by: Anush02198 <Anush.4376@gmail.com>
ender1324 pushed a commit to BICPR/build that referenced this pull request May 24, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
hungphan2001 pushed a commit to CherishOS/android_build_make that referenced this pull request May 24, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
Buff99 pushed a commit to JDCTeam/android_build that referenced this pull request May 25, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
LordShenron pushed a commit to ProjectSakura/build_make that referenced this pull request May 25, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
Signed-off-by: LordShenron <shen.priyanshu@gmail.com>
maldini03 pushed a commit to maldini03/android_build that referenced this pull request May 26, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
AshutoshSundresh pushed a commit to ShapeShiftOS/android_build that referenced this pull request May 29, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
maldini03 pushed a commit to maldini03/android_build that referenced this pull request May 29, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
rezaadi0105 pushed a commit to Ancient-Lab/android_build that referenced this pull request Jun 2, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit 93a20447535c971f14b0b0e23470962ec26a794b)
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
BoredOutOfMyGit pushed a commit to codeaurora-unofficial/platform-build that referenced this pull request Jun 10, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
KronicBot pushed a commit to AOSiP/platform_build that referenced this pull request Jun 10, 2020
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
vjspranav pushed a commit to kcuf-tomato/android_build_make that referenced this pull request Jun 20, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
vjspranav pushed a commit to StagOS/android_build_make that referenced this pull request Jun 22, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Jul 7, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
joeyhuab pushed a commit to Evolution-X/build that referenced this pull request Jul 10, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Sipun Ku Mahanta <sipunkumar85@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Stallix <joey@evolution-x.org>
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Aug 2, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
hanifardhani pushed a commit to ProtonAOSP-platina/android_build_make that referenced this pull request Aug 17, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
anulalat pushed a commit to FurryButStraight/build_make that referenced this pull request Aug 29, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
anulalat pushed a commit to FurryButStraight/build_make that referenced this pull request Aug 29, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
Signed-off-by: RakeshBatra <raakesh.batra@rediffmail.com>
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Aug 29, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Aug 29, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Aug 29, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
anulalat pushed a commit to FurryButStraight/build_make that referenced this pull request Sep 3, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
anulalat pushed a commit to FurryButStraight/build_make that referenced this pull request Sep 3, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
anulalat pushed a commit to FurryButStraight/build_make that referenced this pull request Sep 3, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 5, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 7, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 8, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 8, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
JarlPenguin pushed a commit to AOSP-on-montana/platform_build that referenced this pull request Sep 13, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 14, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 23, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Sep 26, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Oct 1, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Oct 5, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Oct 5, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
thestinger pushed a commit to GrapheneOS/platform_build that referenced this pull request Oct 6, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)
JarlPenguin pushed a commit to AOSP-on-montana/platform_build that referenced this pull request Oct 7, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
Fenix46 pushed a commit to LuckyAOSP/android_build that referenced this pull request Dec 8, 2021
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
erfanoabdi pushed a commit to LMODroid/platform_build that referenced this pull request Jan 24, 2022
* When $OUT is on a compressed disk,
  `du -k -s` might not return the correct sizes.
* Adding `-b` gets us close to the actual size.

toybox commit: landley/toybox#177

Test: m, builds and boots.
Devices: crosshatch blueline bonito sargo (anything with dynamic partitions)

Change-Id: I1955261de0f6323518b214e2731ef4879c3304e0
(cherry picked from commit d0412222e52b9de18087f510fc57ba93cca47fdd)
Signed-off-by: Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants