forked from stevenshiau/clonezilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clonezilla.spec
9135 lines (6818 loc) · 518 KB
/
clonezilla.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Summary: Opensource Clone System (ocs), clonezilla
Name: clonezilla
Version: 4.6.10
Release: drbl1
License: GPL
Group: Development/Clonezilla
Source0: %{name}-%{version}.tar.xz
URL: http://clonezilla.org
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: bash, perl, drbl >= 4.6.3, psmisc, udpcast, partclone >= 0.3.18, ntfsprogs >= 1.13.1, bc, smartmontools, dmraid
%description
Clonezilla, based on DRBL, partclone, and udpcast, allows you to do bare metal backup and recovery. Two types of Clonezilla are available, Clonezilla live and Clonezilla SE (Server Edition). Clonezilla live is suitable for single machine backup and restore. While Clonezilla SE is for massive deployment, it can clone many (40 plus!) computers simultaneously.
For more info, check http://clonezilla.org.
%prep
%setup -q -n clonezilla-%{version}
%build
make all
%install
make install DESTDIR=$RPM_BUILD_ROOT/
%clean
[ -d "$RPM_BUILD_ROOT" ] && rm -rf $RPM_BUILD_ROOT
%post
%files
%defattr(-,root,root)
/usr/sbin/*
/usr/bin/*
/usr/share/drbl/*
/usr/share/clonezilla/*
/etc/drbl/*
%changelog
* Tue Dec 21 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.10-drbl1
* Bug fixed: ignore the 1st 2 columns in /proc/partitions when
comparing it for the cache files in the function
check_if_use_disklist_cache of ocs-functions.
* ocs-get-dev-info: better way to run dislocker-find so that when it
failed to load some lib, it won't show the device's fs is bitlocker.
* Mon Dec 20 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.9-drbl1
* Due to sudo >= 1.9.8p2-1 will new a pts (e.g., /dev/pts/0) instead of
keeping the tty from SUDO_USER. Hence a new environmental variable
SUDO_TTY from sudo will be used to make clonezilla main menu only starts
in tty1. Make both CURRENT_TTY and SUDO_TTY mechanism work.
The environmental variable SUDO_TTY is passed to ocs-lang-kbd-conf &
ocs-live-run-menu by:
sudo -i SUDO_TTY="$(tty)" ocs-lang-kbd-conf
sudo -i SUDO_TTY="$(tty)" ocs-live-run-menu
* Sun Dec 19 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.8-drbl1
* update-efi-nvram-boot-entry: bug fixed for 2 or more ESPs on the same
machine, unmount should be done within for loop.
* ocs-prep-cache: ignore the 1st 2 columns in /proc/partitions when
comparing it for the cache files, since partprobe might change the major
and minor numbers in /proc/partitions, while the blocks and device names
(3rd & 4th columns) will remain the same after partprobe is run.
* ocs-chkimg: treat not link & not split image as a special case. Read it
directly. Do not use cat to get best performance.
* When restoring, not link & not split image as a special case. Read it
directly. Do not use cat to get best performance.
* Tue Dec 14 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.7-drbl1
* ocs-chkimg: output more messages to log files.
* Bug fixed: variables in for loop should be escaped when outputting to
log file.
* Reverted the split_flag mechanism when restoring which as implemented
in 4.6.6. This is because that some uncompression program can not deal
with (follow) symbolic files. E.g., "pixz -d" has no option to process
a symbolic file. This is crucial when we want to restore the image
saved from different source device. The program create-ocs-tmp-img
uses symbolic files for that.
* Sun Dec 12 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.6-drbl1
* Unicast retoring by partclone was improved. If the image file is not
split, no need to use cat. Just read it from the uncompressing program.
This makes the performance better.
* Mon Dec 06 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.5-drbl1
* Do not modify /etc/drbl/drbl-ocs.conf if the image repo is FAT. Just
set the environmental variable VOL_LIMIT_IN_INTERACTIVE to 4096 once.
* Sun Dec 05 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.4-drbl1
* By default do not split the image file of a partition, i.e., use "-i 0"
when saving an image by ocs-sr.
If the image repo is FAT, VOL_LIMIT_IN_INTERACTIVE will
be set as 4096 when running ocs-sr in saving mode.
* Mon Nov 29 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.3-drbl1
* ocs-btsrv: ezio uses --cache only as it's available.
This is compatible when older version of ezio is used.
* Support dracut from CentOS 6 which exists in different path and no
option"--tmpdir" for the restored CentOS 6.
* Sat Nov 27 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.2-drbl1
* create-ubuntu-live: removed support for groovy, add jammy.
* Sat Nov 27 2021 Steven Shiau <steven _at_ clonezilla org> 4.6.1-drbl1
* ocs-btsrv: no more assigning RAM size when running ezio.
Use the default value from libtorrent since ezio >= 1.2.1
has removed the option --cache.
* Wed Oct 27 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.16-drbl1
* ocs-live-netcfg: add exit in the menu when choosing wired or wireless
NIC type.
* Tue Oct 26 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.15-drbl1
* ocs-live-netcfg: rewrite so it's easier to read.
Changes:
Boot parameter ocs_use_wifi was changed to ocs_nic_type.
ocs-live-netcfg: no more option -r and -w.
Merge them as option -w|--nic-type TYPE. TYPE can be "wired" or "wireless".
* Mon Oct 25 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.14-drbl1
* ocs-live-netcfg: add support for wifi device.
* S03prep-drbl-clonezilla: Add boot parameter ocs_use_wifi. It can be
assigned as "yes" or "no" (default).
* Mon Oct 18 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.13-drbl1
* update-efi-nvram-boot-entry: avoid duplicated boot entries.
* Sun Oct 17 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.12-drbl1
* update-efi-nvram-boot-entry: improved to refer to saved nvram data
(efi-nvram.dat). In addition, multiple boot entries can be processed,
too.
Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/9ffa31f838
* Fri Oct 08 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.11-drbl1
* Bug fixed. The get_disk_list from ocs-functions:
need to check if is_partition. Otherwise if sda, e.g.,
has a file system, it will be listed in both disks and partitions.
* Thu Oct 07 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.10-drbl1
* Function get_not_busy_disks_or_parts: a bug was fixed, which
failed to process dev with /dev/mapper, e.g., /dev/mapper/ventoy.
Thanks to yellowsoar for reporting this issue.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/b5d15a6edf
* Wed Oct 06 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.9-drbl1
* Avoid duplication in cache file dev_fs_size_type.cache
by ocs-prep-cache.
E.g., /dev/sdb is a block device with fs.
* Wed Oct 06 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.8-drbl1
* Optimize get_not_busy_disks_or_parts so that ocs-scan-disk runs
faster 1st time.
* Sun Oct 03 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.7-drbl1
* Replace "which" with "command -v" in the script because "which"
command is deprecated.
* Sat Oct 02 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.6-drbl1
* Bug fixed: missing disk-related processing in get_not_busy_disks_or_parts.
Those linux_raid_member and assigned excluding devices about disks were
not processed.
* Sat Sep 25 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.5-drbl1
* S03prep-gparted-live: Skip starting gparted if no-gparted-start
is assigned in the boot parameters.
Ref: http://gparted-forum.surf4.info/viewtopic.php?pid=35995
* Thu Sep 23 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.4-drbl1
* Improve the cache mechanism to speed up the device scan and file
system/size/type.
This makes get_not_busy_disks_or_parts and other functions about
scanning the device's file system/size/type faster.
* Wed Sep 15 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.3-drbl1
* Add a cache mechanism to speed up the device scan.
This makes get_not_busy_disks_or_parts run faster.
* Fri Sep 10 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.2-drbl1
* Improve the progress messages when searching disk or partition.
* Sat Sep 04 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.1-drbl1
* Bug fixed: not searching live-media-path from boot parameters.
Thanks to JDFandango for reporting this issue.
Ref: https://github.com/stevenshiau/clonezilla/issues/59
* Sun Aug 29 2021 Steven Shiau <steven _at_ clonezilla org> 4.5.0-drbl1
* Change version number since some major changes were done.
* Sat Aug 28 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.13-drbl1
* Allow reserved image names to be used in TUI.
The description about reserved image names is shown in TUI.
* Tue Aug 17 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.12-drbl1
* Improved is_partition from ocs-functions to judge /dev/md*
is disk or partition when restoring an image.
* Suppress the stderr when running ocs-get-dev-info.
* Improved cnvt-ocs-dev to convert md device and files blkdev.list & blkid.list.
* Mon Aug 09 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.11-drbl1
* prep-ocsroot: pass ocs_sr_type to is_partition so that it can judge for
disk/partition of /dev/md*
Suppress stderr when running ocs-get-dev-info in is_block_device_with_fs.
* Sun Aug 08 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.10-drbl1
* is_partition of ocs-functions: /dev/md is not partition if md?p? exists.
E.g., /dev/md126, but there is /dev/md126p1, then /dev/md126 is not a partition.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/8627eabf99
* Tue Jul 27 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.9-drbl1
* ocs-restore-mdisks: support wildcard for device name.
E.g.,
ocs-restore-mdisks -b -a choose -p "-g auto -e1 auto -e2 -r -j2 -c -scr
-p true" focal-mbr-20210531 sd*
* Sat Jul 17 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.8-drbl1
* update-efi-nvram-boot-entry: should test if shimx64.efi exists before
grubx64.efi.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/0fcee8469a/
* ocs-restore-mdisks: countdown 15 secs, not 7 secs,
before going on for the device name is assigned as "all"
* create-gparted-live: include gvfs to address the issue that yelp does
not open GParted help manual.
Ref: https://sourceforge.net/p/gparted/mailman/message/37321623/
* Tue Jul 13 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.7-drbl1
* ocs-restore-mdisks: "all" can be used as all non-busy local disks
* Mon Jul 05 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.6-drbl1
* Update USAGE about the option -j2 for ocs-sr.
Add warning messages about skipping option "-j2" (clone_hidden_data)
when it's in restoreparts.
Ref: https://sourceforge.net/p/clonezilla/bugs/361/
* Thu Jul 01 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.5-drbl1
* Bug fixed: ntfsclone without compression image was not detected
correctly.
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/560dea1695
* Sat Jun 26 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.4-drbl1
* Add short options -bm & -em for the beginner/expert modes in:
drbl-ocs, ocs-live-feed-img, ocs-onthefly, ocs-restore-mdisks,
and ocs-sr.
* Mon Jun 21 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.3-drbl1
* Support mounting bitlocker device as image repository.
Thanks to fiddyschmitt for requesting this.
Ref: https://github.com/stevenshiau/clonezilla/issues/58
* Thu Jun 18 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.2-drbl1
* ocs-clean-part-fs is renamed as ocs-clean-disk-part-fs.
* Add the mechanism to clean the RAID metadata in disk in
ocs-clean-disk-part-fs.
* Wed Jun 16 2021 Steven Shiau <steven _at_ clonezilla org> 4.4.1-drbl1
* Improve the mechanism to expand LVM when -k1 (hence -r) is enabled.
* ocs-expand-lvm: add a new program to expand LVM.
* ocs-resize-part: instead of checking device format, check if it exists.
* Tue Jun 09 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.29-drbl1
* Bug fixed: image checking should be before encrypted image is unmounted.
Thanks to Brian Connolly for reporting this issue.
* Tue May 25 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.28-drbl1
* ocs-live-hook-functions: Update get_non_free_net_firmware_for_ubuntu
to use new mechanism to get NIC firmware.
* create-ubuntu-live: add support Ubuntu impish
* ocs-get-nic-fw-lst: new added program for get nic-firmware.lst.
* nic-firmware.lst: new added for putting nic firmware on Ubuntu-based
Clonezilla live.
* ocs-functions: variable rc_saveparts/rc_savepts.
Improve test for variable rc_saveparts/rc_savedisk.
* Thu May 13 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.27-drbl1
* ocs-live-final-action: Move ocs-park-disks before "countdown 7".
* Depends on smartmontools.
* Tue May 11 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.26-drbl1
* ocs-live-boot-menu: add big font using nomodeset.
* Tue May 11 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.25-drbl1
* Add "VGA with large font & To RAM" (using nomodeset) in the boot menu,
and move "KMS with large font & To RAM" to submenu.
This can be an alternative solution for jfbterm not working in
KMS mode for some VGA cards.
* Sun May 09 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.24-drbl1
* Add ocs-park-disks in do_ocs_live_run_final of ocs-live-final-action.
* Sat May 08 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.23-drbl1
* Add ocs-park-disks before rebooting/halting in Clonezilla live.
Ref: https://sourceforge.net/p/clonezilla/bugs/364/
Thanks DDD for this requesting.
* ocs_*veracrypt-vh: add check if root.
* Sun May 02 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.22-drbl1
* Improve to process the volume header of Veracrypt.
Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/76c9794d/
Add two files: ocs-save-veracrypt-vh & ocs-restore-veracrypt-vh
* Wed Apr 28 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.21-drbl1
* Put --archive-areas in the same command with --distribution for
create-*-live. This should work with live-build 202104 version, a
workaround to avoid lb config --archive-areas "main non-free" failing
in create-gparted-live.
* Wed Apr 21 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.20-drbl1
* Add "--force" for vgcfgrestore to force metadata restore
even with thin pool LVs.
* Tue Apr 13 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.19-drbl1
* Add boot parameter echo_ocs_repository, so that when
it's assigned as "no", the prompt about mounting image repository
can be hidden.
Thanks to ottokang for asking this.
* Update singularity-debian-ocs.def: include ezio instead of ezio-static
* Mon Apr 05 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.18-drbl1
* Set default prompt for boot menu of gparted/drbl live. Previous changes
affected those 3 modes of boot menus.
* Sun Apr 04 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.17-drbl1
* Disable sleep and hibernate for live system.
Ref: https://gitlab.gnome.org/GNOME/gparted/-/issues/149
* Sat Apr 03 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.16-drbl1
* ocs-live-boot-menu: update "framebuffer To RAM" menu prompt as
"VGA 800x600 & To RAM"
* Manually applied the patches for timeout and exit code for ocs-iso and
ocs-live-dev.
Ref:
https://gitlab.com/stevenshiau/clonezilla/-/merge_requests/44
https://gitlab.com/stevenshiau/clonezilla/-/merge_requests/45
Thanks to Vitaly for these MRs.
* Fri Apr 02 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.15-drbl1
* ocs-live-feed-img: make timeout_max shorter as "60".
* Fri Apr 02 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.14-drbl1
* ask_nic_dev of ocs-functions: not to detect wifi device linking status.
Add wl.* to net device list.
* Fri Apr 02 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.13-drbl1
* ocs-live-boot-menu: Switch KMS+To RAM and To RAM between 1st and 2nd
level of menus. Drop grub 1 support. Make grub to use grub 2,
not grub 1 anymore.
* Fri Apr 02 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.12-drbl1
* Remove words "Default settings" from the boot menu.
Thanks to Lord65 for this suggestion.
* Update netboot menu only when /tftpboot/nbi_img exists. This would avoid
giving error messages when running in singularity container for data
move.
* Sun Mar 28 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.11-drbl1
* Move image check of the restoring mode to
task_processing_after_parameters_checked of ocs-functions.
* Tue Mar 23 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.10-drbl1
* Move image checking to be after creating Info-* files.
* Add "To RAM" in the 1st layer of live boot menu.
Thanks to Lord65 for this suggestion.
* Sun Mar 21 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.9-drbl1
* Bug fixed: forgot to put "shift;;" in drbl-ocs.
* Wed Mar 17 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.8-drbl1
* ocs-live-boot-menu: comment "rmmod tpm".
* Tue Mar 16 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.7-drbl1
* ocs-sr: change -sspt as -scpt. Add option to force choosing disk name in
saveparts mode in expert mode.
* Tue Mar 09 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.6-drbl1
* Add -gb/-cb in drbl-ocs & ocs-sr.
Rename check_md5_sha1_sums_for_img as check_checksums_for_img
Rename gen_md5_sha1_sums_for_img_if_assigned as
gen_checksums_for_img_if_assigned. And both of them are rewritten
so that it's easier to add more programs.
Thanks to Ramon Fischer for this suggestion.
Ref: https://github.com/stevenshiau/clonezilla/issues/52
* Switch to use b2sum instead of md5sum in chksum_cmd_for_files_in_dev
of drbl-ocs.conf.
* Sun Mar 07 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.5-drbl1
* Bug fixed: wrong info was saved to Info-saved-by-cmd.txt when ocs-sr
is run in non-interactive mode.
* A typo was fixed:
msg_continue_with_weired_partition_table ->
msg_continue_with_weird_partition_table.
* Sun Mar 07 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.4-drbl1
* Add -ssnf, --skip-set-netboot-first in the dcs, i.e., drbl-ocs so that the
variable efi_netboot_1st_in_nvram in drbl-ocs.conf can be changed
when running dcs.
* Add the option -sspt, --skip-save-part-table for ocs-sr & drbl-ocs.
* ocs_chkimg: do not exit if no partition table. This allows the image
saved for whole disk as a file system (e.g., /dev/sda) by saving saveparts.
* Tue Feb 23 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.3-drbl1
* ocs-live-hook-functions: Add prompt in function set_ntp_off
* Sat Feb 20 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.2-drbl1
* Bug fixed: Set ntp off in live-hook for Clonezilla/DRBL/GParted live.
The previous method does not work.
Thanks Jay B. for identify this issue.
* Sat Feb 20 2021 Steven Shiau <steven _at_ clonezilla org> 4.3.1-drbl1
* prep-ocsroot: Drop portmap, keep rpcbind only
* create-gparted-live: increase ramfs_size_def to 7516192768.
* create-drbl-live: Increase ramfs_size_def to 16106127360
* Tue Feb 16 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.32-drbl2
* Repacket due to temp file existing in the deb.
* Tue Feb 16 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.32-drbl1
* create-gparted-live: include package nwipe in GParted live.
Thanks to bruno.forcier for asking this.
Ref: http://gparted-forum.surf4.info/viewtopic.php?id=17972
* Sat Feb 13 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.31-drbl1
* Exclude loop device as 1st-disk is used for device name in ocs-sr,
since /dev/loop0 is for filesystem.squashfs from Clonezilla live.
* Wed Jan 20 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.30-drbl1
* Bug fixed: missing TUI when -rescue is used for partclone in device to
device cloning. Thanks to huh for reporting this.
* Wed Jan 20 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.29-drbl1
* prep-ocsroot: Make fsck dialog to be different from the saving mode.
* Tue Jan 19 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.28-drbl1
* ocs-sr: make --rescue work for ocs-onthefly to call ocs-sr.
Thanks to huh for reporting this issue:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/ba2d28a4ef/
* Mon Jan 18 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.27-drbl1
* prep-ocsroot: add an option to fsck repository file system before
mounting local one.
Thanks to Bohdan for this idea.
Ref: https://gitlab.com/stevenshiau/clonezilla/-/issues/53
* Sun Jan 17 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.26-drbl1
* Better mechanism to find LIVE_MEDIA in function get_live_media_mnt_point
of ocs-functions.
* Update comment about "autoname-" in ocs-functions.
* Sat Jan 09 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.25-drbl1
* Use datefmt_* instead of date_F_* for "autoname-", and let user assign
%, so that it's easier to assign. E.g.,
autoname-fox-datefmt_%Y%m%d -> fox-20210109
autoname-fox-datefmt_%Y-datefmt_%m%d -> fox-2021-0109
* Fri Jan 08 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.24-drbl1
* Add more keyname about the image name: "autoname-":
month, day, hour, minute, date_F_*
date_F_* is like: date_F_y, where y is the format from program "date",
e.g., date_F_y is the value got from "date +%y",
i.e., last two digits of year (00..99).
* Tue Jan 05 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.23-drbl1
* ocs-live-repository:
Expand samba_server with version assigned as: smb1, smb1.0, smb2,
smb2.0, smb2.1, smb3, smb3.0, smb3.11, and smb3.1.1.
* Fri Jan 01 2021 Steven Shiau <steven _at_ clonezilla org> 4.2.22-drbl1
* prep-ocsroot: add options for auto and 3.1.1 SMB protocol. Default
choice is "auto".
* Add support for scheme smb1, smb2, smb3 in ocs-live-repository so that
the cifs version can be assigned. Thanks to ottokang for this idea.
Ref:
https://groups.google.com/g/ocs-clonezilla/c/M0eEV9ClO4k/m/FlW06koMBwAJ
* Mon Dec 28 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.21-drbl1
* ocs-sr: Support customized auto-gen image name.
Key name: productname + FQDN + UUID + MAC + year + date + time
It can be any combination, just beginning with autoname-
Ff key name is not shown, it will be shown as itself.
E.g., autoname-fox-year-date-time-uuid ->
fox-2020-1227-2336-564d41fc-9d80-20ac-c844-bda6a392d4c6
* Due to the above new feature, the "autoname-wpfx=" mechanism
is dropped.
* Tue Dec 22 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.20-drbl1
* ocs-live-boot-menu: add language setting for grub
* Sun Dec 20 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.19-drbl1
* Add a reserverd name autoname-wpfx= for saving.
* Change the date-time format for auto*name as like
my-2020-1220-0221-img, was my-2020-12-20-0221-img.
* Sat Dec 19 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.18-drbl1
* Allow something like /dev/md126 can be a partition, too.
* Show file system and partition size in the TUI when listing partitions
in restoreparts.
* create-ocs-tmp-img: Use "-f" instead of "-e" to test a normal file in
the btzone dir otherwise noise from cp will be shown.
* Wed Dec 16 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.17-drbl1
* ocs-sr: dump md-related info in the image dir.
* ocs-live-feed-img: Reduce timeout_max to 120 secs from 300 secs.
* ocs-get-dev-info: Partition type is not reset if it's not swap.
This allows linux_raid_member to be identified.
* ocs-chkimg: skip checking md device's MBR and partition table.
* Tue Dec 08 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.16-drbl1
* Reduce ezio_cache_ratio from 0.7 to 0.5 in drbl-ocs.conf.
* Thu Dec 03 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.15-drbl1
* Update prompt and usage of ocs-btsrv.
* Thu Dec 03 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.14-drbl1
* Output the ezio seeding & leeching logs in ocs-btsrv,
not in function task_restoreparts.
* Thu Dec 03 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.13-drbl1
* Add leecher log: /var/log/ocs-leecher.log.
* Tue Dec 01 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.12-drbl1
* Bug fixed: jfbterm was not used in i686 live due to wrong keyword to
be grepped in ocs-lang-kbd-conf. This made no way to choose language
for i686 version of Clonezilla live.
* Mon Nov 30 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.11-drbl1
* Make "service dnsmasq restart" as "systemctl stop dnsmasq;
systemctl start dnsmasq" in ocs-live-feed-img.
* Sun Nov 29 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.10-drbl1
* The devices to be deployed by BT mode will be run together.
No more one device by another device.
* Add leecher mode (-l|--for-leecher) in ocs-btsrv.
* Add package f3 in Clonezilla/DRBL/GParted live.
Thanks to timgmooney _at_ hotmail com for this suggestion.
* Wed Nov 25 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.9-drbl1
* As suggested by ottokang _at gmail com and
https://lwn.net/Articles/244829/, noatime implies nodiratime.
There remove nodiratime in the option of mount command.
* Tue Nov 24 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.8-drbl1
* Bug fixed: save_ocs_sr_related_vars should be replaced with
new function name save_ocs_related_vars not used in ocs-chkimg and
ocs-live-feed-img.
* Mon Nov 23 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.7-drbl1
* Bug fixed: in interactive mode, ocs-onthefly and ocs-sr should wait
for pressing enter before asking final action. It was not working for
device to device cloning, recovery iso/zip creation, etc.
* Mon Nov 23 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.6-drbl1
* ocs-sr: run save_ocs_sr_related_vars on all modes. Save more variables
in the function save_ocs_sr_related_vars of ocs-functions.
This would make some more modes stop before asking the final action by
default.
* Sun Nov 22 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.5-drbl1
* ocs-sr: destination disk can be assigned by serialno when restoring.
* ocs-onthefly: source and destination device can be assigned by serialno.
* Sat Nov 21 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.4-drbl1
* GParted live: Update the calculator in the menu as galculator.
* Sat Nov 21 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.3-drbl1
* create-gparted-live: Replace calcoo with galculator and add yelp.
* Fri Nov 20 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.2-drbl1
* ocs-sr: update usage about short serial number
* ocs-get-dev-info: add option -l so that the default output about serial
no of a disk can be shown in long format. Default is short one.
Thanks to LinuxOpa.
Ref: https://sourceforge.net/p/clonezilla/support-requests/143/
* Wed Nov 18 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.1-drbl1
* Make ptuuid/serialno/uuid/partuuid case insensitive when using
as the input parameter of ocs-sr.
* Wed Nov 18 2020 Steven Shiau <steven _at_ clonezilla org> 4.2.0-drbl1
* Rename ocs-get-part-info as ocs-get-dev-info.
* When ocs-sr is in saving mode, the DEVICE name can also be
assigned by:
For disk: PTUUID or SERIALNO, e.g.,
PTUUID=03c8b280-47aa-4881-aca5-9b9c66fe28c7.
If there are spaces in SERIALNO, replace every space by \"_\"
For partition: UUID or PARTUUID,
e.g., UUID=0b51ce79-7bc0-4111-8a40-839461a9b12f"
* Mon Nov 17 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.9-drbl1
* Implement a better mechanism to get block device about UUID.
* Mon Nov 16 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.8-drbl1
* Support assigning input device using UUID/serial no when saving image:
savedisk: PTUUID, SERIALNO
saveparts: UUID, PARTUUID
E.g.,
ocs-sr -q2 -c -j2 -z9p -i 4096 -sfsck -senc -p choose savedisk
myimg SERIALNO=36000c292124c4d6554f924089bd9b83a
serialno=36000c29045c0eab7f80c902114867c19 PTUUID="f722833a"
* Mon Nov 02 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.7-drbl1
* Remove gptsync since it's not available in Debian repository,
and add scsitools blktool safecopy in GParted live packages list.
* Thu Oct 29 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.6-drbl1
* Bug fixed: avoid creating VG more than once.
VG might exist in more than one PV. If so, we only have to create it once.
Ref: https://sourceforge.net/p/clonezilla/discussion/Help/thread/13f8ed6643
* Sun Oct 25 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.5-drbl1
* Update create-ubuntu-live for hirsute support, and remove the support
for eoan.
* Sat Oct 24 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.4-drbl1
* Bug fixed: cnvt-ocs-dev now can process the image repository path
with whitespace.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/cf543265b2
* Save OS-related info in the image dir as the file name
Info-OS-prober.txt
Ref:
https://sourceforge.net/p/clonezilla/discussion/Help/thread/7ddac80b9f
* Fri Oct 16 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.3-drbl1
* Improve part to part (local and remote) for ocs-onthefly.
The previous version did not work for local part to part in interactive
mode, while it works for running in batch command mode. It did not work
for local disk to disk in batch command mode, but works for interactive
mode.
* ocs-sr's option -f|--from-part-in-img is changed as -f|--from-part since
it now supports both from an image and a device.
* Sat Oct 10 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.2-drbl1
* Use -np|--net-pipe PROGRAM instead of -u|--use-netcat
so that it's easier to switch, and it can be
selected in the expert mode.
* Revert to use netcat as the default net pipe program since the nuttcp in
Debian/Ubuntu repository is to old and buggy (6.1.2, the latest one now
is 8.2.2).
* If a disk has not any partition, it can not be the source for
ocs-onthefly. It will just quit to avoiding confusion.
* Add "--rsyncable" for zstd saving.
Since zstdmt is equivalent to zstd -T0, remove "-T${cpu_no}" in
extra_zstdmt_opt.
* Fri Oct 09 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.1-drbl1
* clonezilla: wrong option for ocs-onthefly in ocs_interactive, now it
should be "-d" instead of "-t".
* Fri Oct 09 2020 Steven Shiau <steven _at_ clonezilla org> 4.1.0-drbl1
* Implement a better mechanism to run ocs-onthefly:
Now ocs-onthefly mainly uses ocs-sr to save the pseudo image,
and let partclone do the device to device clone. This is similar to that
of Clonezilla lite server.
Due to this improvement, some major changes for ocs-othefly in order to
sync with that of ocs-sr:
1. These options have been changed to totally different meanings:
-d|--destination|--target was -t|--target
-po|--port was -p|--port
--net-filter was -i|--filter
-p|-pa|--postaction was -pa|--postaction
-u|--use-nuttcp was -u|--use-netcat
2. New options:
-t|--no-restore-mbr
-t1|--restore-raw-mbr
-t2|--no-restore-ebr
By default, the network cloning is changed to use zstd to compress
the data instead of gzip, and the network piping program is changed
to nuttcp from netcat since the latter has too many diverse versions.
* ocs-update-initrd: Remove useless prompt.
* cnvt-ocs-dev: dev-fs.list should be converted, too.
Add a tag file device_name_converted.info in the converted image.
* For drbl-ocs.conf:
Remove: PARTCLONE_RESTORE_ONTHEFLY_OPT_INIT
Add:
ONTHEFLY_NET_PIPE="nuttcp"
NC_PORT_DEFAULT="9000"
PARTCLONE_LOG="/var/log/partclone.log"
* Tue Sep 29 2020 Steven Shiau <steven _at_ clonezilla org> 4.0.4-drbl1
* Dump the S.M.A.R.T. data of drive in the image dir.
Thanks to KrashDummy for this idea.
Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/7484b15424/
* Update usage message of ocs-sr, about option -sfs.
* Show the ocs-sr command in ocs-live-feed-img.
* Wed Sep 23 2020 Steven Shiau <steven _at_ clonezilla org> 4.0.3-drbl1
* Switch to use nuttcp for net pipe and zstd for filter
in ocs-onthefly.
* Tue Sep 22 2020 Steven Shiau <steven _at_ clonezilla org> 4.0.2-drbl1
* Disable NetworkManager service in the live-hook when
creating clonezilla live system.
* Mon Sep 21 2020 Steven Shiau <steven _at_ clonezilla org> 4.0.1-drbl1
* Do not suppress the stdout/stderr messages when running dd in
ocs-restore-[em]br.
* ocs-expand-gpt-pt/ocs-expand-mbr-pt:
No need to check since we are creating new partition table and should
not care about the destination disk's format is GPT or MBR.
Add prompt about the option -icds when failing to creating the partition
table on the smaller disk.
* Deal with more than one EFI part in a machine having same UUID.
Avoid update-efi-nvram-boot-entry failing in this case.
* Fri Sep 18 2020 Steven Shiau <steven _at_ clonezilla org> 4.0.0-drbl1
* Format the parameters of ocs-* command about the device name
so that it can be with or without /dev/, e.g., /dev/sda or sda.
Thanks to Tsutsukakushi and MichaIng.
Ref: https://gitlab.com/stevenshiau/clonezilla/-/merge_requests/4
* Jump the version to 4 since the version number of 3.40 is already too big.
* Sun Sep 13 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.8-drbl1
* Update comments about grub netboot host specific boot mechanism.
* Thu Sep 10 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.7-drbl1
* Add option -rvd to ocs-onthefly so that we can choose to remove
the NTFS volume dirty flag in source NTFS file system before
cloning it.
* Tue Sep 08 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.6-drbl1
* Update wget bterm-unifont and nic-firmware in live-hook since the
package might be in new category.
* Thu Aug 20 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.5-drbl1
* Add support for loop devices: Disk images attaches as block
devices. Thanks to MichaIng.
Ref: https://gitlab.com/stevenshiau/clonezilla/-/merge_requests/43
* Tue Aug 18 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.4-drbl1
* Newer zip can create zip file larger than 2 GB. Hence ocs-live-dev
should use zip to create the recovery zip file, not force to change that
to tar.
* Sat Aug 15 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.3-drbl1
* Add network-manager-gnome to drbl live since wicd was removed.
network-manager for clonezilla/drbl live was wrong, should be
NetworkManager. However, it's can be up, so remove it.
* Remove qemu-kvm but keep qemu-util, replace xvnc4viewer by
xtightvncviewer since the former is broken in Sid.
* Sun Aug 09 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.2-drbl1
* Keep ttf-unifont, unifont, xfonts-unifont, xfonts-utils
to avoid unifont.pcf.gz being removed in the ocs-live hook when
building Clonezilla live.
* Sun Aug 09 2020 Steven Shiau <steven _at_ clonezilla org> 3.40.1-drbl1
* Add Korean support. Thanks to Hyeonmin Oh and 박규민.
* Fri Jul 03 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.14-drbl1
* Export linux_cmd and initrd_cmd in grub.cfg, i.e., make them as global
variables so that the submenu can use that, too.
Thanks to Chuck for identifying this issue.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/a7b696d13e/
* Thu Jul 02 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.13-drbl1
* Bug fixed: the CPU arch tag file was missing when running
ocs-iso, create-gparted-live and create-drbl-live.
Thanks to Chuck for reporting this issue.
* Tue Jun 30 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.12-drbl1
* Bug fixed: wrong commands for parsing $linux_cmd
* Mon Jun 29 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.11-drbl1
* Add a mechanism to create CPU arch tag file in the release root dir.
* A better mechanism to deal with linuxefi/initrdefi or linux/initrd in
the grub config.
* Fri Jun 19 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.10-drbl1
* The function get_input_dev_name in ocs-functions should not skip
LVM if the device is whole block disk (e.g., /dev/sdb which is PV)
* create-gparted-live: use new package name netsurf-gtk instead of old
one: netsurf
* Tue Jun 16 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.9-drbl1
* Bug fixed: The function is_block_device_with_fs of ocs-function
should not treat "LVM2_member" as a file system.
Thanks to Carlos Trentini for reporting this.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/726d3dd6a8/
* ocs-iso, ocs-live-dev: sync syslinux-related files when copying syslinux
exec files.
* Mon Jun 08 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.8-drbl1
* When creating recovery iso/zip file, if it's in Clonezilla live environment,
we have those syslinux files. Use that first so the version mismatch can be avoided.
Ref: https://sourceforge.net/p/clonezilla/support-requests/127/
* Sun Jun 07 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.7-drbl1
* ocs-sr: ocs-chkimg should not overwrite /var/lib/clonezilla/ocs-vars.
Hence backup it before running ocs-chkimg in the restoring mode.
Thanks for Denis reporting this issue:
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/3f52bb4542
* Sun May 31 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.6-drbl1
* Add ID for two grub boot menus in the menu generated by
ocs-live-boot-menu:
--id live-default
--id live-kms-toram
This will be easier for drbl-sl to locate the boot parameters.
* Fri May 29 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.5-drbl1
* Make my email address consistent at clonezilla org for all the files.
* Fri May 29 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.4-drbl1
* grub netboot cfg dir is now at /tftpboot/nbi_img/grub/,
while for backward compatibility, we still link it to
/tftpboot/nbi_img/grub-efi.cfg.
* Use ocswp-grub2.png instead of ocswp.png for grub netboot client.
* Thu May 28 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.3-drbl1
* Bug fixed: No need to run gen-grub-efi-nb-menu in ocs-live-feed-img
since it's run inside drbl-gen-grub-efi-nb.
* Wed May 27 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.2-drbl1
* Bug fixed: the grub2 menu created by ocs-live-boot-menu should use
linuxefi/initrdefi.
* Wed May 27 2020 Steven Shiau <steven _at_ clonezilla org> 3.39.1-drbl1
* ocs-onthefly: bug fix for missing last-lba line
Previous solution neglecting the last-lba line in sfdisk dumped file
should not be used in the case that option -k1 is used in ocs-onthefly.
Thanks to Alex Hughes and JR Bregante for reporting this issue.
Ref:
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/68e1be5cfe/
https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/491c9eb9ce
* ocs-function: follow the change linuxefi/initrdefi
Follow the change in gen-grub-efi-nb-menu, the grub command in the
grub config file is now linuxefi/initrdefi instead of linux/initrd.
Hence the corresponding functions have to be
changed:
remove_runlevel_1_in_grub_efi_cfg_block
remove_runlevel_1_in_grub_efi_cfg_block
* ocsmgrd: generate grub netboot file with new name.
To avoid conflict with the patch of grub in CentOS/Fedora,
for GRUB EFI NB MAC/IP config style, the netboot file is now like
grub.cfg-drbl-00:50:56:01:01:01
and
grub.cfg-drbl-192.168.177.2
not grub.cfg-01-* anymore.
* Sat May 09 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.16-drbl1
* Add reserved words 'all' and 'all-but-usb' for the image and device
name. This is especially for using in the BT from device mode in
ocs-live-feed-img.
* Update USAGE for ocs-sr about the reserved word 'all' for saving mode.
* Fri May 08 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.15-drbl1
* Update ocs-live-repository so that ram_disk is one of the option.
It can be done by using ram://.
* Tue May 05 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.14-drbl1
* Fix wrong syntax in create-ubuntu-live.
* Tue May 05 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.13-drbl1
* Add support for creating groovy-based live system.
* Tue Apr 28 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.12-drbl1
* Neglect the line "last-lba:..." for the GPT partition table.
This allows something like:
64 GB disk with a 20 GB NTFS partition, disk clone to >= 20 GB disk.
This is harmless when same sizes of disk cloning or smaller to larger
case.
The option -icds is required when larger disk is cloned/restored to
smaller one, no need to use -k1 in this case.
Thanks to panreyes for this idea.
Ref: https://sourceforge.net/p/clonezilla/bugs/342/
* Mon Apr 14 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.11-drbl1
* Add batch mode, and instead of countdown, pause it when rc is not 0
for ocs-run-boot-param.
* Sun Apr 12 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.10-drbl1
* Countdown 10 secs when there is a failure ocs-run-boot-param.
* Mon Apr 06 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.9-drbl1
* Update USAGE, add checking required programs & improve exit function
of ocs-live-swap-kernel.
* Sun Mar 22 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.8-drbl1
* Add a new program ocs-live-swap-kernel which can be used to swap
Linux kernel and modules in clonezilla live.
* Sat Mar 21 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.7-drbl1
* Improve decide_MKSQUASHFS_OPTIONS so that it can be
optionally assigned with an arg.
* Sun Mar 15 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.6-drbl1
* Improve get_latest_kernel_ver_in_repository to
make get_latest_kernel_ver_in_repository work for creating
Debian-based and Ubuntu-based live system.
* Sat Mar 14 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.5-drbl1
* Add support for creating Clonezilla live in armhf arch.
* Wed Mar 11 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.4-drbl1
* Bug fixed: To RAM option was not put in the large font+To RAM
boot menu.
* Wed Mar 11 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.3-drbl1
* put --distribution before --mode in the lb config in create-ubuntu-live.
* Wed Mar 11 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.2-drbl1
* Improve get_latest_kernel_ver_in_repository to work with arm64.
* Put lb config --distribution in the beginning for create-*-live,
otherwise live-build 20191221 won't work.
* Tue Mar 10 2020 Steven Shiau <steven _at_ clonezilla org> 3.38.1-drbl1
* Replace pzstd by zstdmt.
Thanks to Lord65 (lord5319 _at_ gmail com) for this idea.
Ref: https://github.com/facebook/zstd/pull/1192#issuecomment-397599977
* Change large font boot menu as large font + toram.
* Improve the codes to create Clonezilla live arm64 release.
* Mon Mar 02 2020 Steven Shiau <steven _at_ clonezilla org> 3.37.22-drbl1
* Improve ocs-restore-mdisks by adding option -a|--last-action to separate
the last action before it's finished.
* Sun Mar 01 2020 Steven Shiau <steven _at_ clonezilla org> 3.37.21-drbl1
* Fix the issue ocs-restore-mdisks failed to return to cmd:
https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/366eeabc42/
ocs-live-final-action was improved for usage.
* Fri Feb 21 2020 Steven Shiau <steven _at_ clonezilla org> 3.37.20-drbl1
* Bug fixed TYPE=isw_raid_member should not be a supported file system for
ocs-get-part-info to give. Thanks to Domenic DiSorbo for reporting this
issue.
* Tue Jan 28 2020 Steven Shiau <steven _at_ clonezilla org> 3.37.19-drbl1
* Move the stdout (-) to the last option for lrzip.
* Thu Dec 26 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.18-drbl1
* Add Variables for the buffer size of dd & partclone.dd in drbl-ocs.conf:
dd_buffer_size & partclone_dd_bs.
They are used in the related functions of ocs-functions.
Thanks to cagnulein for reporting this issue.
Ref: https://gitlab.com/stevenshiau/clonezilla/merge_requests/42
* Tue Dec 24 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.17-drbl1
* Let a bare block device with a file system (e.g, /dev/sda, not /dev/sda1),
which we treat as a partition, can be chosen as the destination disk
when not saving.
* Thu Dec 05 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.16-drbl1
* New upstream partclone_create_torrent.py, use python3:
https://raw.githubusercontent.com/tjjh89017/ezio/migrate_to_py3/utils/partclone_create_torrent.py
* Slightly improve BT return status so that ocs-live-feed-img won't
continue running the rest. Not finished, need improvements in the
future.
* Tue Dec 03 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.15-drbl1
* Add options -z7/-z8/-z8p/-z9/-z9p to drbl-ocs.
Ref: https://sourceforge.net/p/drbl/bugs/22/
* Sun Dec 01 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.14-drbl1
* Fix expand tools from using the wrong filename for '.info' files.
See merge request stevenshiau/clonezilla!41
* Wed Nov 20 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.13-drbl1
* Remove nonempty from sshfs mounting
since fuse3 has used it by default.
Ref: https://github.com/libfuse/libfuse/commit/0bef21e8
* Tue Nov 19 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.12-drbl1
* Temporarily remove swift repository from the list of prep-ocsroot
since cloudfuse package is not maintained anymore.
* Tue Nov 19 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.11-drbl1
* Generate locales in the post script of singularity definition file
* Tue Nov 19 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.10-drbl1
* A workaround was added to avoid partclone wrongly detects device is
busy in Singularity environment:
https://github.com/sylabs/singularity/issues/4182
Otherwise Partclone will fail due to block device status not found
* Fri Nov 08 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.9-drbl1
* Add a workaround for singularity-debian-ocs.def so that
the weird keyboard-configuration won't be asked interactively.
* Wed Nov 06 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.8-drbl1
* Make create-ubuntu-live work for Ubuntu Focal.
* Fri Oct 18 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.7-drbl1
* Only mail the results to root as MTA is running.
* Wed Oct 16 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.6-drbl1
* Exclude "-oracle" Linux kernel (e.g., linux-image-5.0.0-1004-oracle)
so that the generic kernel can be used in Clonezilla live.
* Tue Oct 15 2019 Steven Shiau <steven _at_ clonezilla org> 3.37.5-drbl1
* An option "-ps" or "--play-sound" was added in expert mode so that when
Clonezilla job is done, a sound can be played.
Thanks to David McCracken (daveski at localnet com) for suggesting this.
* Bug fixed: machine-id should not be created in 2nd partition if it
exists due to the flag is not reset.
Thanks to czfan for reporting this issue: