43f5b3 dracut.sh: Adjust squash and strip order

1 file Authored by Kairui Song 3 years ago, Committed by Packit Service 3 years ago,
1 file changed. 25 lines added. 18 lines removed.
    dracut.sh: Adjust squash and strip order
    
    Previously with squash module, some binaries will be reinstalled, but
    stripping happens before that so new installed binaries is not stripped.
    So adjust the squash and strip order, ensure new installed binaries are
    stripped just the same way with the old binaries.
    
    Also split squash into two stage to make the split easier, move the
    squash temp dir into initdir so stripping will cover that too,
    and print more usefule message.
    
    Signed-off-by: Kairui Song <kasong@redhat.com>
    (cherry picked from commit 6a74c03b4a8472fb090015b32e652edfeadb5a10)
    
    Resolves: #1776659
    
    patch_name: 0078.patch
    present_in_specfile: true
    location_in_specfile: 78
    squash_commits: true
    
        
file modified
+25 -18